Nonvolatile semiconductor memory

ABSTRACT

A memory cell array has a unit formed from one memory cell and two select transistors sandwiching the memory cell. One block has one control gate line. Memory cells connected to one control gate line form one page. A sense amplifier having a latch function is connected to a bit line. In a data change operation, data of memory cells of one page are read to the sense amplifiers. After data are superscribed on data in the sense amplifiers, and a page erase is performed, data in the sense amplifiers are programmed in the memory cells of one page. Superscription of data in the sense amplifiers allows a data change operation for byte data or page data.

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] This application is a divisional of prior application Ser. No. 10/202,886, filed Jul. 26, 2002, which is a continuation of prior application Ser. No. 09/921,570, filed Aug. 6, 2001, now U.S. Pat. No. 6,512,703, issued Jan. 28, 2003, which is a divisional of prior application Ser. No. 09/393,201, filed Sep. 9, 1999, now U.S. Pat. No. 6,307,807, issued Oct. 23, 2001, which claims priority under 35 U.S.C. § 119 to Japanese patent applications 10-256738, filed Sep. 10, 1998 and 11-010676, filed Jan. 19, 1999. The entire disclosures of the prior applications are hereby incorporated by reference herein.

BACKGROUND OF THE INVENTION

[0002] The present invention relates to a nonvolatile semiconductor memory capable of changing memory cell data in units of bytes.

[0003] EEPROMs are conventionally known as nonvolatile semiconductor memories for changing memory cell data in units of bytes.

[0004] Reference 1 (W. Johnson et al., “A 16Kb Electrically Erasable Nonvolatile Memory,” ISSCC Digest of Technical Papers, PP. 152-153, February 1982) has proposed an EEPROM which changes memory cell data in units of bytes using FLOTOX (Floating Gate Tunnel Oxide) cells.

[0005]FIG. 65 is a plan view showing an example of a memory cell section of an EEPROM capable of byte erase. FIG. 66 is a sectional view taken along a line LXVI-LXVI in FIG. 65.

[0006] This EEPROM uses FLOTOX cells in the memory cell section. As a characteristic feature of a FLOTOX cell, an about 10-nm tunnel oxide film 22 a is formed between an N⁺ drain 20 a and a floating gate 21 a, and charges are transferred between the N⁺ drain 20 a and the floating gate 21 a by applying an electric field to the tunnel oxide film 22 a.

[0007] A current flowing to the tunnel oxide film 22 a is an F-N (Fowler-Nordheim) tunneling current generated by the F-N tunneling phenomenon.

[0008]FIG. 67 is a view showing the energy band of a MOS capacitor section.

[0009] When an electric field is applied to the MOS capacitor (N⁺ drain—tunnel oxide film—floating gate), an F-N tunneling current flows to the tunnel oxide film (SiO₂) on the basis of equation (1):

I=S·α·E ²exp (−β/E)

S: area, E: electric field

α=q ³/8πhΦB=6.94×10⁻⁷ [A/V ²]

β=−4 (2m)^(0.5) ΦB ^(1.5)/3hq=2.54×10⁸ [V/cm]  (1)

[0010] As is apparent from equation (1), the electric field with which the F-N tunneling current starts flowing is about 10 MV/cm. This electric field theoretically corresponds to a case wherein a voltage of 10V is applied to a tunnel oxide film of 10 nm.

[0011] Referring to FIGS. 65 and 66, assume that when a voltage is applied between the N⁺ drain 20 a and a control gate 23 a, the capacitance ratio (coupling ratio) between the control gate 23 a and the floating gate 21 a is 0.5.

[0012] In this case, to apply a voltage of 10V to the tunnel oxide film 22 a between the N⁺ drain 20 a and the floating gate 21 a, a voltage as high as 20V must be applied between the N⁺ drain 20 a and the control gate 23 a.

[0013] For example, in the erase mode, the N⁺ drain 20 a is set at 0V and the control gate 23 a at 20V to move electrons from the N⁺ drain 20 a to the floating gate 21 a. In the “1” program mode, the N⁺ drain 20 a is set at 20V and the control gate 23 a at 0V to move electrons from the floating gate 21 a to the N ⁺ drain 20 a.

[0014] The disadvantage of the EEPROM using FLOTOX cells is that two elements, a memory cell and a select transistor, are required to store 1-bit data, as shown in FIGS. 65 and 66.

[0015]FIG. 68 shows another example of the memory cell section of the EEPROM capable of byte erase.

[0016] As characteristic features of this EEPROM, FLOTOX cells are used in the memory cell section, and a byte control transistor Tr is prepared in correspondence with memory cells of 8 bits (1 byte).

[0017] Table 1 shows bias conditions in each mode of this EEPROM. TABLE 1 Unselected Byte Unselected Byte Connected to the Connected to Same Word Line the Same Bit Selected as That of Line as That of Mode Byte Selected Byte Selected Byte Erase Word Line High High Low (“0” pro- Byte High Low High gramming) Control Bit Line Low Low Low “1” Pro- Word Line High High Low gramming Byte Low Low Low Control Bit Line High or Low High or Low*² Low*¹

[0018] When such a memory cell section is used, various operation errors (disturbances) can be avoided. However, since 2+(⅛) transistors are required to store 1-bit data, the cell area increases to result in an increase in cost.

[0019] Flash EEPROMS aim at eliminating this problem. A conventional EEPROM is very convenient because data can be erased or programmed in units of 1-bit data.

[0020] However, when a computer hard disk requiring a large memory capacity is to be formed from an EEPROM, the EEPROM need not have a function of erasing or programming data in units of 1-bit data. In most hard disks, data is often erased or programmed in units of sectors (or in units of blocks).

[0021] It is more advantageous to attain a large memory capacity by cell area reduction and reduce the cost of products while omitting the function of changing data in units of 1-bit data. On the basis of such an idea, flash EEPROMs have been developed.

[0022] Details of a flash EEPROM are described in, e.g., reference 2 (F. Masuoka et al., “A new Flash EEPROM cell using triple polysilicon technology,” IEDM Technical Digest, pp. 464-467 December 1984).

[0023]FIG. 69 shows the structure of a memory cell of a flash EEPROM.

[0024] The memory cell of the flash EEPROM has a control gate and floating gate, like a memory cell of a UV erase EPROM. In the flash EEPROM, data is programmed by injecting hot electrons to the floating gate, as in the UV erase EPROM. Data is erased by removing electrons from the floating gate using the F-N tunneling phenomenon, like a byte EEPROM.

[0025] In the flash EEPROM, the erase operation for the individual memory cells is the same as in the byte EEPROM. However, the operation for the entire memory cell array is completely different from that in the byte EEPROM. More specifically, the byte EEPROM erases data in units of bytes while the flash EEPROM erases all bit data at once. Employing such an operation method, the flash EEPROM realizes a memory cell section with one transistor per bit and achieves a large memory capacity.

[0026] In the flash EEPROM, data can be programmed in units of bits, like the UV erase EPROM. More specifically, the flash EEPROM is the same as the UV erase EPROM in that all bit data are erased at once, and data can be programmed in units of bits.

[0027] To realize a memory chip with a large memory capacity, a NAND flash EEPROM has been proposed on the basis of the above-described flash EEPROM.

[0028] Reference 3 (F. Masuoka et al., “New ultra high density EPROM and Flash EEPROM with NAND structured cell,” IEDM Technical Digest, pp. 552-555 December 1987) discloses a NAND flash EEPROM.

[0029] The memory cell array portion of a NAND EEPROM has a NAND unit in which a plurality of (e.g., 16) memory cells are serially connected to form a NAND series with select transistors connected to its two ends, respectively, as shown in FIGS. 70 and 71.

[0030] In the NAND EEPROM, a bit line contact section and source line need be formed not for each memory cell but for one NAND unit. Two adjacent memory cells of the plurality of memory cells forming the NAND series share one diffusion layer. For this reason, the memory cell size per bit can be largely reduced, and a memory chip having a large memory capacity can be realized.

[0031]FIG. 72 shows a NOR flash EEPROM. In the NOR flash EEPROM, a 1-bit (one) memory cell is formed between a bit line and a source line.

[0032] In terms of cost, the above-described NAND flash EEPROM has a characteristic feature suitable to a large-capacity file memory: the cost per bit is low because the cell size can be reduced as compared to the NOR flash EEPROM. In terms of function, the NAND flash EEPROM has a higher data change rate and lower power consumption than those of the NOR flash EEPROM.

[0033] In terms of function, the NAND flash EEPROM is characterized in the scheme for changing data. More specifically, the NAND flash EEPROM achieves program and erase by charge transfer between the silicon substrate (channel) and the floating gate.

[0034] To transfer charges, the F-N tunneling phenomenon is used. A current necessary for programming is an F-N tunneling current flowing from the silicon substrate (channel) to the floating gate. Unlike the NOR flash EEPROM that uses hot electrons for programming, the NAND flash EEPROM has very small current consumption.

[0035] In a 64-Mbit NAND flash EEPROM, data of one page (512 bytes) can be programmed in 200 μs. This programming time is shorter than that for one block in the NOR flash EEPROM.

[0036] Table 2 shows comparison between the characteristic features of the NAND flash EEPROM and those of the NOR flash EEPROM. TABLE 2 NAND NOR Advantage {circle over (1)} Programming rate is {circle over (1)} Random access rate is high high {circle over (2)} Erase rate is high {circle over (2)} Data can be program- {circle over (3)} Block size is small med in units of bytes at and file management is random easy Disadvantage {circle over (1)} Random access rate is {circle over (1)} Random access rate is low low {circle over (2)} Data cannot be {circle over (2)} Erase rate is low programmed in units of bytes Application Replacement for hard disk Replacement for Purpose and floppy disk, and data conventional EPROM, and recorder for portable control memory for terminal (handy terminal, control device, BIOS of voice recording, PC, portable telephone, electronic still camera) and HDD and Fax/modem

[0037] As shown in Table 2, the advantages and disadvantages of these memories are complementary to each other.

[0038] For the application purpose, the NAND flash EEPROM is used aiming at changing data in units of blocks. For example, in a digital camera having 300,000 pixels requires a memory capacity of about 0.5 Mbit for a photograph of one shot. When one block of the NAND flash EEPROM has a memory capacity of about 0.5 Mbit or more, photograph data of one shot can be stored in one block. In this case, data is erased in units of blocks. More specifically, photograph data of one shot is erased by erasing data of memory cells in one block.

[0039] On the other hand, the NOR flash EEPROM is capable of random access at a high speed of 100 ns and is widely used as a control program memory for, e.g., a portable telephone.

[0040] As described above, nonvolatile semiconductor memories have been developed as EEPROM (conventional type)→flash EEPROM→NAND flash EEPROM. The memory size, i.e., the cost per bit (bit cost) is reduced by sacrificing the function of changing data in units of bytes.

[0041] However, for, e.g., a nonvolatile memory embedded LSI which has received a great deal of attention recently, the function of changing data in units of bytes is required. For example, when an IC card used in a system for managing income and expenditure uses a flash EEPROM as an internal memory, data must be erased in units of blocks even when the data need a partial change. For this reason, the function of changing data in units of bytes is essential for such a system.

[0042] To cope with this situation, a byte EEPROM capable of changing data in units of bytes is required. However, the byte EEPROM has the large number of elements per bit, as described above, and therefore, is disadvantageous in increasing the memory capacity or reducing the bit cost.

[0043] Nonvolatile semiconductor memories of the current mainstream are flash EEPROMs (e.g., NOR type and NAND type). Hence, development of a byte EEPROM having the same process and scheme for changing data as those of a flash EEPROM makes it possible to produce EEPROMs meeting the requirements of the market at low cost.

BRIEF SUMMARY OF THE INVENTION

[0044] The present invention has been made in consideration of the above situation, and has as its object to provide a new nonvolatile semiconductor memory which can be formed by the same process as that of a flash EEPROM, has the same scheme for changing data as in the flash EEPROM, and has a function of changing data in units of bytes.

[0045] According to the present invention, there is provided a nonvolatile semiconductor memory comprising a memory cell array having a memory cell unit formed from one memory cell and two select transistors sandwiching the memory cell, a bit line connected to one of the select transistors, and a sense amplifier connected to the bit line and having a latch function, wherein the memory cell has a stacked gate structure having a floating gate and a control gate.

[0046] According to the present invention, there is also provided a nonvolatile semiconductor memory comprising a memory cell array having a first memory cell unit formed from one memory cell and two select transistors sandwiching the memory cell and a second memory cell unit formed from a plurality of memory cells, a bit line commonly connected to the first and second memory cell units, and a sense amplifier connected to the bit line and having a latch function, wherein each of the memory cells has a stacked gate structure having a floating gate and a control gate.

[0047] The second memory cell unit comprises a NAND unit in which the plurality of memory cells are connected in series or an AND or DINOR unit in which the plurality of memory cells are connected in parallel.

[0048] Each of the two select transistors has the same structure as that of the memory cell. That is, each of the two select transistors has a stacked gate structure. Actually, of the upper and lower layers of the stacked gate structure, only, e.g., the lower layer functions as a gate electrode.

[0049] The nonvolatile semiconductor memory of the present invention further comprises means for, when data are to be changed for selected memory cells in memory cells of one page connected to a selected control gate line in the memory cell array, reading data of the memory cells of one page to the sense amplifiers, superscribing, in the sense amplifiers, data on data corresponding to the selected memory cells of the page, erasing the data of the memory cells of one page, and programming the data of the sense amplifiers in the memory cells of one page.

[0050] The data corresponding to the selected memory cells constitute byte data or page data.

[0051] According to the present invention, there is also provided a nonvolatile semiconductor memory comprising a memory cell array formed from memory cell units each including a memory cell, a bit line connected to the memory cell unit, a sense amplifier connected to the bit line and having a latch function, and means for, when data are to be changed for selected memory cells in memory cells of one page connected to a selected control gate line in the memory cell array, reading data of the memory cells of one page to the sense amplifiers, superscribing, in the sense amplifiers, data on data corresponding to the selected memory cells of the page, erasing the data of the memory cells of one page, and programming the data of the sense amplifiers in the memory cells of one page.

[0052] According to the present invention, there is also provided a nonvolatile semiconductor memory comprising a memory cell array having a memory cell for programming data using an F-N tunneling current, a bit line connected to the memory cell, a sense amplifier connected to the bit line and having a latch function, and means for, when data are to be simultaneously programmed in memory cells corresponding to one page, which are connected to a selected control gate line, applying a first potential to wells in which the memory cells of one page are formed, a second potential to a control gate of each of the memory cells of one page, the first potential to a bit line connected to a selected memory cell of the memory cells of one page, for which programming is to be executed, and an intermediate potential between the first and second potentials to a bit line connected to an unselected memory cell of the memory cells of one page, for which programming is not to be executed.

[0053] According to the present invention, there is also provided a nonvolatile semiconductor memory comprising a memory cell array formed from a plurality of memory cell units arranged in a matrix, a main control gate line extending in a row direction on the memory cell array, a main control gate driver at one end of the main control gate line, a sub control gate line connected to a plurality of memory cells of memory cells of one page in the memory cell units arranged in the row direction, and a sub control gate driver inserted between the main control gate line and the sub control gate line.

[0054] Each of the plurality of memory cell units is formed from one memory cell and two select transistors respectively connected to two ends of the memory cell.

[0055] The nonvolatile semiconductor memory of the present invention further comprises two select gate lines connected to gates of the two select transistors in each of the memory cell units arranged in the row direction, and a select gate driver connected to one end of each of the two select gate lines near the control gate driver.

[0056] The nonvolatile semiconductor memory of the present invention further comprises a sub decoder for decoding an address signal and outputting a control signal, and the sub control gate driver comprises a MOS transistor connected between the main control gate line and the sub control gate line and having a gate for receiving the control signal.

[0057] The nonvolatile semiconductor memory of the present invention further comprises a sub decoder for decoding an address signal and applying a predetermined potential to the sub control gate line, and the sub control gate driver comprises a MOS transistor connected between the sub control gate line and the sub decoder and having a gate for receiving the potential of the main control gate line.

[0058] The nonvolatile semiconductor memory of the present invention further comprises means for, when data are to be changed for arbitrary memory cells in memory cells of one page in the memory cell units arranged in the row direction, reading to the sense amplifiers data of the plurality of memory cells connected to the sub control gate line, superscribing, in the sense amplifiers, data on predetermined data of the data of the plurality of memory cells, erasing the data of the plurality of memory cells connected to the sub control gate line, and programming the data of the sense amplifiers in the plurality of memory cells connected to the sub control gate line.

[0059] The nonvolatile semiconductor memory of the present invention further comprises means for, when data are to be changed for arbitrary memory cells in memory cells of one page in the memory cell units arranged in the row direction, reading to the sense amplifiers data of memory cells of one page connected to the main control gate line, superscribing, in the sense amplifiers, data on predetermined data of the data of the plurality of memory cells connected to the sub control gate line, erasing the data of the plurality of memory cells connected to the sub control gate line, and programming, of the data of the sense amplifiers, data corresponding to the plurality of memory cells connected to the sub control gate line in the plurality of memory cells connected to the sub control gate line.

[0060] The sub control gate line is connected to memory cells of n bytes (n is a natural number), and data corresponding to the selected memory cells constitute byte data.

[0061] When the plurality of memory cells connected to the sub control gate line are defined as a block, a plurality of blocks are connected to the main control gate line, and a data read, erase, or program operation is performed in units of n (n is a natural number) blocks.

[0062] According to the present invention, there is also provided a nonvolatile semiconductor memory comprising a memory cell array formed from a plurality of memory cell units arranged in a matrix, first and second main control gate lines extending in a row direction on the memory cell array, a first main control gate driver connected to one end of the first main control gate line, a first sub control gate line connected to a plurality of memory cells of memory cells of one page in first memory cell units, which are arranged in the row direction, a first sub control gate driver inserted between the first main control gate line and the first sub control gate line, a first select gate line connected to a select transistor in each of the first memory cell units, a first select gate driver connected to one end of the first select gate line, a second main control gate driver connected to one end of the second main control gate line, a second sub control gate line connected to a plurality of memory cells of memory cells of one page in second memory cell units, which are arranged in the row direction, a second sub control gate driver inserted between the second main control gate line and the second sub control gate line, a second select gate line connected to a select transistor in each of the second memory cell units, and a second select gate driver connected to one end of the second select gate line, wherein the first main control gate driver and the first select gate driver are arranged at one end of the memory cell array in the row direction, and the second main control gate driver and the second select gate driver are arranged at the other end of the memory cell array in the row direction.

[0063] According to the present invention, there is provided a nonvolatile semiconductor memory comprising a memory cell array formed from a plurality of memory cell units arranged in a matrix, first and second main control gate lines extending in a row direction on the memory cell array, a first sub control gate line connected to a plurality of memory cells of memory cells of one page in first memory cell units, which are arranged in the row direction, a first sub control gate driver inserted between the first main control gate line and the first sub control gate line, a first select gate line connected to a select transistor in each of the first memory cell units, a first select gate driver connected to one end of the first select gate line, a main control gate driver connected to one end of each of the first and second main control gate lines, a second sub control gate line connected to a plurality of memory cells of memory cells of one page in second memory cell units, which are arranged in the row direction, a second sub control gate driver inserted between the second main control gate line and the second sub control gate line, a second select gate line connected to a select transistor in each of the second memory cell units, and a second select gate driver connected to one end of the second select gate line, wherein the main control gate driver and the first and second select gate drivers are arranged at one end of the memory cell array in the row direction.

[0064] The first and second memory cell units are, e.g., adjacent to each other in a column direction.

[0065] According to the present invention, there is provided a nonvolatile semiconductor memory comprising a memory cell array having first and second memory cell units each formed from one memory cell and two select transistors, a first bit line connected to one of the two select transistors in the first memory cell unit, a second bit line connected to one of the two select transistors in the second memory cell unit, and a sense amplifier connected to each of the first and second bit lines and having a latch function.

[0066] According to the present invention, there is also provided a nonvolatile semiconductor memory comprising a memory cell array having a memory cell unit formed from a plurality of memory cells and two select transistors sandwiching the memory cells, a bit line connected to one of the two select transistors, a sense amplifier connected to the bit line and having a latch function, and means for, in a program operation, applying a high program potential higher than a power supply potential to a selected control gate line and, to an unselected control gate line, the power supply potential or a read potential to be applied to the unselected control gate line in a read operation.

[0067] The memory cell unit includes two memory cells. Each of the plurality of memory cells has a stacked gate structure having a floating gate and a control gate.

[0068] Each of the two select transistors has the same structure as that of the plurality of memory cells.

[0069] According to the present invention, there is also provided a nonvolatile semiconductor memory comprising a memory cell array having a first memory cell unit formed from a plurality of memory cells and two select transistors sandwiching the memory cells and a second memory cell unit having a plurality of memory cells, a bit line commonly connected to the first and second memory cell units, a sense amplifier connected to the bit line and having a latch function, and means for, in a program operation, when a block including the first memory cell unit is selected, applying a high program potential higher than a power supply potential to a selected control gate line and, to an unselected control gate line, the power supply potential or a read potential to be applied to the unselected control gate line in a read operation.

[0070] The nonvolatile semiconductor memory of the present invention further comprises means for, when data are to be changed for arbitrary memory cells in memory cells of one page connected to a selected control gate line, reading data of the memory cells of one page to the sense amplifiers, superscribing, in the sense amplifiers, data on predetermined data of the page, erasing the data of the memory cells of one page connected to the selected control gate line, and programming the data of the sense amplifiers in the memory cells of one page connected to the selected control gate line.

[0071] In the program operation, the means applies the power supply potential or the read potential to the selected control gate line and the unselected control gate line and then increases only the potential of the selected control gate line to the high program potential.

[0072] Additional objects and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objects and advantages of the invention may be realized and obtained by means of the instrumentalities and combinations particularly pointed out hereinafter.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

[0073] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate presently preferred embodiments of the invention, and together with the general description given above and the detailed description of the preferred embodiments given below, serve to explain the principles of the invention.

[0074]FIG. 1A is a view showing the memory cell unit of a byte EEPROM of the present invention;

[0075]FIG. 1B is a sectional view taken along a line I-I in FIG. 1A;

[0076]FIG. 2 is a view showing the equivalent circuit of the structure shown in FIG. 1A;

[0077]FIG. 3 is a view showing the memory cell array of the byte EEPROM of the present invention;

[0078]FIG. 4 is a graph showing the relationship between a gate voltage and a cell current corresponding to the data of a memory cell;

[0079]FIGS. 5A and 5B are views showing potentials applied to the memory cell unit in a data read;

[0080]FIG. 6 is a graph showing an example of a threshold voltage distribution corresponding to the data of the memory cell;

[0081]FIG. 7 is a graph showing another example of the threshold voltage distribution corresponding to the data of the memory cell;

[0082]FIG. 8 is a block diagram showing the main portion of the byte EEPROM of the present invention;

[0083]FIG. 9 is a circuit diagram showing a sense amplifier shown in FIG. 8;

[0084]FIG. 10 is a flow chart showing the data change operation for byte data of the present invention;

[0085]FIG. 11 is a view showing reading of data in the sequence shown in FIG. 10;

[0086]FIG. 12 is a view showing superscription of byte data in the sequence shown in FIG. 10;

[0087]FIG. 13 is a view showing erasing of page data in the sequence shown in FIG. 10;

[0088]FIG. 14 is a view showing programming of page data in the sequence shown in FIG. 10;

[0089]FIG. 15 is a timing chart showing the data change operation for page data of the present invention;

[0090]FIG. 16 is a timing chart showing the data change operation for page data of the present invention;

[0091]FIG. 17 is a timing chart showing the data change operation for byte data of the present invention;

[0092]FIG. 18 is a view showing a modification of the memory cell array of the byte EEPROM of the present invention;

[0093]FIG. 19 is a view showing another modification of the memory cell array of the byte EEPROM of the present invention;

[0094]FIG. 20 is a view showing the program operation of a stacked gate memory cell;

[0095]FIG. 21 is a view showing the erase operation of the stacked gate memory cell;

[0096]FIG. 22 is a view showing still another modification of the memory cell array of the byte EEPROM of the present invention;

[0097]FIG. 23 is a block diagram showing an example of the byte EEPROM of the present invention;

[0098]FIG. 24 is a view showing the memory cell array in FIG. 23;

[0099]FIG. 25 is a block diagram showing another example of the byte EEPROM of the present invention;

[0100]FIG. 26 is a view showing the memory cell array in FIG. 24;

[0101]FIG. 27 is a view showing the data change operation for byte data of the present invention;

[0102]FIG. 28 is a block diagram showing a modification of the EEPROM shown in FIG. 23;

[0103]FIG. 29 is a circuit diagram showing an example of the predecoder shown in FIG. 28;

[0104]FIG. 30 is a circuit diagram showing examples of the row decoder and driver shown in FIG. 28;

[0105]FIG. 31 is a view showing one row of the memory cell array shown in FIG. 28;

[0106]FIG. 32 is a view showing the data change operation for byte data of the present invention;

[0107]FIG. 33 is a view showing the data change operation for byte data of the present invention;

[0108]FIG. 34 is a view showing an example of the well layout in a memory cell array area;

[0109]FIG. 35 is a view showing a modification of the memory cell array shown in FIG. 31;

[0110]FIG. 36 is a block diagram showing a modification of the EEPROM shown in FIG. 28;

[0111]FIG. 37 is a view showing two rows adjacent to each other in the memory cell array shown in FIG. 36;

[0112]FIG. 38 is a circuit diagram showing a system using a differential sense amplifier;

[0113]FIG. 39 is a block diagram showing a system having one sense amplifier for a plurality of bit lines;

[0114]FIG. 40 is a block diagram showing another modification of the EEPROM shown in FIG. 28;

[0115]FIG. 41 is a circuit diagram showing an example of the predecoder shown in FIG. 40;

[0116]FIG. 42 is a circuit diagram showing examples of the row decoder and driver shown in FIG. 40;

[0117]FIG. 43 is a view showing two rows adjacent to each other in the memory cell array shown in FIG. 40;

[0118]FIG. 44 is a block diagram showing a layout example of a sub decoder;

[0119]FIG. 45 is a block diagram showing an example of the EEPROM to which the present invention is applied;

[0120]FIG. 46 is a block diagram showing another example of the EEPROM to which the present invention is applied;

[0121]FIG. 47 is a block diagram showing still another example of the EEPROM to which the present invention is applied;

[0122]FIG. 48 is a view showing a disturbance in the NAND EEPROM in the program mode;

[0123]FIG. 49 is a timing chart showing the data program operation of the NAND EEPROM;

[0124]FIG. 50 is a view showing a memory cell unit of the byte EEPROM of the present invention;

[0125]FIG. 51 is a view showing the equivalent circuit of the structure shown in FIG. 50;

[0126]FIG. 52 is a view showing a potential applied to the memory cell unit in the erase operation;

[0127]FIG. 53 is a view showing a potential applied to the memory cell unit in the program operation;

[0128]FIG. 54 is a view showing a potential applied to the memory cell unit in the read operation;

[0129]FIG. 55 is a graph showing the relationship between a gate voltage and a cell current corresponding to the data of a memory cell;

[0130]FIG. 56 is a block diagram showing the main portion of the byte EEPROM of the present invention;

[0131]FIG. 57 is a view showing the circuit arrangement of the memory cell array shown in FIG. 56;

[0132]FIG. 58 is a circuit diagram showing an example of the sense amplifier shown in FIG. 56;

[0133]FIG. 59 is a flow chart showing the data change operation for byte data of the present invention;

[0134]FIG. 60 is a view showing the states of a node Qb of the sense amplifier;

[0135]FIG. 61 is a timing chart showing the data change operation for page data of the present invention;

[0136]FIG. 62 is a timing chart showing the data change operation for page data of the present invention;

[0137]FIG. 63 is a timing chart showing the data change operation for byte data of the present invention;

[0138]FIG. 64 is a view showing a modification of the memory cell array of the byte EEPROM of the present invention;

[0139]FIG. 65 is a view showing a memory cell of a conventional byte EEPROM;

[0140]FIG. 66 is a sectional view taken along a line LXVI-LXVI in FIG. 65;

[0141]FIG. 67 is an energy band diagram showing the mechanism of an F-N tunneling current;

[0142]FIG. 68 is a view showing a memory cell of the conventional byte EEPROM;

[0143]FIG. 69 is a view showing the basic structure of the memory cell of the conventional byte EEPROM;

[0144]FIG. 70 is a view showing the NAND unit of a NAND flash EEPROM;

[0145]FIG. 71 is a view showing the equivalent circuit of the structure shown in FIG. 70; and

[0146]FIG. 72 is a view showing a memory cell of a NOR flash EEPROM.

DETAILED DESCRIPTION OF THE INVENTION

[0147] A nonvolatile semiconductor memory of the present invention will be described below in detail with reference to the accompanying drawing.

[0148]FIGS. 1A and 1B show a memory cell of a byte EEPROM of the present invention. FIG. 2 shows the equivalent circuit of the memory cell shown in FIGS. 1A and 1B. FIG. 3 shows the entire circuit arrangement of the memory cell array.

[0149] A memory cell MC has a control gate and floating gate. This structure is the same as a memory cell of a flash EEPROM. Select transistors ST1 and ST2 are connected to the two ends of the memory cell MC, respectively. The select transistor ST1 is connected to a bit line via a bit line contact section BC. The select transistor ST2 is connected to a source line SL.

[0150] The memory cell MC and select transistors ST1 and ST2 form one memory cell unit. A memory cell array is constructed by arraying a plurality of memory cell units.

[0151] A plurality of memory cell units in the row direction form one block. One control gate line CGL extends in one block in the row direction. Memory cells connected to one control gate line CGL are called one page.

[0152] An erase can be performed in units of pages. A program and read for the memory cells can also be performed in units of pages by using a sense amplifier having a latch function for each column. However, data is serially input/output in units of bits.

[0153] This arrangement allows a data change operation for byte data.

[0154] In terms of structure, the byte EEPROM of the present invention can be regarded as a NAND flash EEPROM having one memory cell in one NAND unit. In terms of function, however, the byte EEPROM of the present invention is largely different from the NAND flash EEPROM. This will be described later in association with the operation.

[0155] The advantages of the structure of the byte EEPROM of the present invention will be described.

[0156] The memory cell section of the byte EEPROM of the present invention is different from that of the NAND flash EEPROM in only the number of memory cells constituting one unit. Hence, the byte EEPROM of the present invention can directly employ the process of the NAND flash EEPROM. For this reason, the memory capacity can be increased and the production cost can be reduced, though data can be erased in units of bytes.

[0157] For example, when the design rule is 0.4 μm, a short-side length a is 1.2 μm and a long-side length b is 3.2 μm. The area (short-side length a×long-side length b) per memory cell is 3.84 μm². In the conventional byte EEPROM as shown in FIGS. 65 and 66, when the design rule is 0.4 μm, the area per memory cell is 36 μm².

[0158] That is, for the memory cell array portion, the byte EEPROM of the present invention can realize a memory capacity 10-times larger than that of the conventional byte EEPROM by simple calculation.

[0159] Since the byte EEPROM of the present invention can be manufactured by the same process as that of the NAND flash EEPROM, the byte EEPROM can be easily applied to a logic embedded nonvolatile memory.

[0160] Since the memory cell of the byte EEPROM of the present invention has the same structure as that of the NAND flash EEPROM, the data change scheme of the flash EEPROM, i.e., the data change scheme using the F-N tunneling phenomenon can be directly employed for one memory cell.

[0161] For the entire memory cell array, the byte EEPROM of the present invention is different from the NAND flash EEPROM in that the data change operation for byte data, i.e., byte erase is possible.

[0162] The erase, program, and read operations of the byte EEPROM of the present invention will be described sequentially below.

[0163] In the erase operation, a ground potential is applied to the control gate (word line) CGL of a selected block. The control gate CGL of an unselected block is set in a floating state.

[0164] After this, for example, an erase pulse of 21V and 3 ms is applied to the bulk. A bulk means a well formed in a silicon substrate. The memory cell MC and select transistors ST1 and ST2 are formed in this well.

[0165] When the erase pulse is applied to the bulk, in the memory cell MC of the selected block, an erase voltage (21V) is applied between the bulk and the control gate, and electrons in the floating gate move to the well due to the F-N (Fowler-Nordheim) tunneling phenomenon. As a result, the threshold voltage of the memory cell is about −3V.

[0166] In the byte EEPROM of the present invention, an over-erase wherein the absolute value of the threshold voltage of a memory cell extremely increases in the erase operation need not be taken into consideration. Hence, when the erase operation is performed under the condition that the threshold voltage is set at about −3V by the erase pulse of one cycle, the erase time (if a verify is performed to confirm whether the threshold voltage has a value smaller than a predetermined value, the erase time includes the time required for the verify) can be shortened.

[0167] The byte EEPROM of the present invention need not take the over-erase into consideration because the select transistors ST1 and ST2 are connected to the two ends of one memory cell MC, respectively. More specifically, in a data read, an unselected memory cell must be always turned off, and a selected memory cell must be turned on or off depending on data. The over-erase turns on the unselected memory cell. The select transistors ST1 and ST2 prevent data of the unselected memory cell from being supplied to the bit line even when the unselected memory cell is ON. Hence, the operation of the memory has no problem.

[0168] In the erase operation, the control gate CGL of the unselected block is set in the floating state. In each memory cell MC of the unselected block, even when the potential of the bulk (well) rises, data is not erased because the potential of the control gate CGL also rises due to the capacitive coupling between the control gate CGL and the bulk.

[0169] The control gate CGL is formed from, e.g., polysilicon or a multilayered structure of polysilicon and a metal silicide. The control gate CGL is connected to the source of a word line drive MOS transistor via a metal interconnection. Hence, the control gate is connected to the junction capacitance of the source of the word line drive transistor, the overlap capacitance between the gate and source, the capacitance between the control gate and metal interconnection, the capacitance between the control gate and the bulk (well), and the like.

[0170] Of these capacitances, the capacitance between the control gate and the bulk is especially large. Since the coupling ratio between the control gate and the bulk is as large as about 0.9, the F-N tunneling current can be prevented from flowing to the memory cell MC of the unselected block by the capacitive coupling between the control gate CGL and the bulk.

[0171] In an erase verify, it is verified whether, for example, the threshold voltages of all memory cells in the selected block is −1V or less. In the present invention, the over-erase does not pose any problem, as described above. For this reason, the over-erase need not be verified. In addition, when the erase is performed under a condition for allowing a proper decrease in threshold voltage to about −3V, the verity can be omitted.

[0172] In the “0” program mode, the bit-line-side select transistor ST1 of the selected block is turned on, and the source-line-side select transistor ST2 is turned off. For a memory cell for which programming is to be executed (“0” programming), a bit line BLi is set at 0V. For a memory cell for which programming is to be inhibited (“1” programming), the bit line BLi is set at a power supply potential VCC (e.g., 3.3V).

[0173] A potential of 0V is applied from the bit line BLi to the channel of the memory cell for program execution via the select transistor ST1. Hence, the channel potential of the memory cell for program execution is the ground potential.

[0174] A program potential is applied to the selected word line (control gate). At this time, of the selected memory cells connected to the selected word line, a memory cell for program execution generates a large potential difference between the floating gate and the channel. In the memory cell for program execution, electrons move from the channel to the floating gate due to the F-N tunneling phenomenon.

[0175] On the other hand, in a program inhibit memory cell, the channel is charged to the power supply voltage VCC and also set in the floating state. When the program potential is applied to the selected word line (control gate), the channel potential is also automatically boosted by the series capacitive coupling between the control gate, floating gate, channel, and bulk (well).

[0176] No large potential difference is generated between the floating gate and channel of the program inhibit memory cell, which is connected to the selected word line, and electrons do not move from the channel to the floating gate.

[0177] For the program inhibit memory cell, the coupling ratio between the control gate and channel is increased, and the channel is sufficiently charged. With this technique, the channel potential (program inhibit potential) when the program potential is applied to the selected word line can be made high enough.

[0178] A coupling ratio B between the control gate and channel is calculated by

B=Cox/(Cox+Cj)

[0179] where Cox is the sum of gate capacitances of the control gate and channel, and Cj is the sum of junction capacitances of the source and drain of the memory cell.

[0180] The channel capacitance of the memory cell equals the sum of the sum Cox of the gate capacitances and the sum Cj of the junction capacitances.

[0181] The overlap capacitance between the gate and source of the select transistor and the capacitance between the bit line and source/drain are much smaller than the channel capacitance and therefore are neglected.

[0182] In the read operation, after the bit line is charged to the precharge potential, a potential of 0V is applied to the control gate (selected word line) of the selected memory cell. The power supply potential VCC is applied to the gates of the select transistors on both sides of a selected memory cell. A potential of 0V is applied to the gates of the select transistors on both sides of an unselected memory cell. At this time, the select transistors on both sides of the selected memory cell are turned on, and the select transistors on both sides of the unselected memory cell are turned off.

[0183] Of the selected memory cells, a memory cell having data “1”, i.e., a memory cell in the erase state has a threshold voltage in a negative depletion mode and therefore is ON, so the potential of the bit line decreases. Conversely, a memory cell with data “0” has a threshold voltage in a positive enhancement mode and therefore is OFF. The potential of the bit line is maintained at the precharge potential.

[0184] In this way, data “0” or “1” is determined on the basis of whether a cell current flows from the bit line to the source line. A change in the potential of the bit line is amplified (detected) by a sense amplifier.

[0185] According to the byte EEPROM of the present invention, the memory cell MC sandwiched by the select transistors has the following advantages.

[0186] As the first advantage, when the read potential is 0V, the threshold voltage distribution after the erase or programming only need have a negative value (data “1”) or a positive value (data “0”), as shown in FIG. 6. More specifically, only a verify function of discriminating “1” from “0” is necessary, and a verify function of detecting an over-erase or over-program can be omitted. Hence, a complex verify is unnecessary, unlike the conventional flash EEPROM. In the present invention, a normal read operation is possible even when the absolute value of a negative threshold voltage is increased by the over-erase, or the absolute value of a positive threshold voltage is increased by the over-program. For this reason, the electric field to be applied to the gate oxide film (tunnel oxide film) can be set high, and the erase time or programming time can be shortened.

[0187] As the second advantage, both the erase and programming are performed by transferring charges between the floating gate and channel using the F-N tunneling phenomenon, like the NAND flash EEPROM. For this reason, the current consumption of the data change operation can be minimized. As a consequence, the number of memory cells in which data can be simultaneously changed by one-time data change operation can be increased.

[0188] As the third advantage, in the byte EEPROM of the present invention, only one memory cell is sandwiched between select transistors, unlike the NAND flash EEPROM. That is, selected memory cells and unselected memory cells are not present between the select transistors at the same time. For this reason, in the read mode, the unselected memory cell need not always be turned on and made to function as a pass transistor. Hence, no means for preventing the over-program is required.

[0189] In the read mode, the unselected memory cell need not always be ON. For this reason, when the read is to be performed by setting the control gate of the selected memory cell at 0V, the control gate of the unselected memory cell can also be set at 0V because read retention need not be taken into consideration.

[0190] In the conventional NAND flash EEPROM, a plurality of memory cells are connected in series between select transistors. In the read mode, the control gate of a selected memory cell is set at 0V, and the control gate of an unselected memory cell is set at a voltage Vread (=4.5V). This shortens read retention.

[0191] In the present invention, only one memory cell is connected between select transistors. In the read mode, when the control gates of all memory cells are set at 0V, selection/nonselection of a memory cell can be determined by only turning on/off the select transistors at the two ends of the memory cell.

[0192] Since select transistors are connected between a bit line and memory cells, unselected memory cells need not always be OFF in the read mode. Hence, no means for preventing the over-erase is required, either.

[0193] In the “0” program mode, the intermediate potential (potential of about ½ the program potential) need not be applied to an unselected word line (control gate). This is because select transistors are present between memory cells and a bit line, and only one memory cell is connected between select transistors.

[0194] Since any program error can be prevented without applying the intermediate potential to the unselected word line, the reliability of programming is high. Additionally, data can be changed in units of pages (or in units of bits). In the read mode as well, the cell current can be made large because of the absence of pass transistors. This increases the read rate and improves data holding characteristics in the read operation.

[0195] Table 3 shows the potentials of select gate lines SSL and GSL, control gate line (word line) CGL, bit line BLi, cell source line SL, and cell P-well in the above-described erase, program, and read operations. TABLE 3 Erase Program Read Selected Select Gate Line SSL veraxβ VCC VCC Block on Bit Line Side Control Gate Line OV Vprog OV CGL Select Gate Line GSL veraxβ OV VCC on Source Line Side Un- Select Gate Line SSL Vera × β OV OV selected on Bit Line Side Block Control Gate Line Vera × β OV OV CGL Select Gate Line GSL Vera × β OV OV on Source Line Side Bit Line “1” Data Vera-Vb VCC VBL→OV “0” Data Vera-Vb OV VBL Cell Source Line Vera-Vb VCC OV Cell P-well Vera OV OV

[0196] In the erase operation, the control gate CGL of a selected block is set at 0V. The control gate line CGL and all the select gate lines SSL and GSL of an unselected block are set in the floating state.

[0197] In this state, when an erase potential Vera of, e.g., 21V is applied to the cell P-well, the potentials of all the select gate lines SSL and GSL in the floating state and the potential of the control gate line CGL of the unselected block are given by Vera×β (β is the coupling ratio) because of capacitive coupling with the cell P-well.

[0198] When the coupling ratio β is 0.8, the potentials of all the select gate lines SSL and GSL in the floating state and the potential of the control gate line CGL of the unselected block increase to 16.8V each.

[0199] In the erase operation, p-n junction formed from an N⁺-type diffusion layer and cell P-well, which are connected to the bit line BLi and cell source line SL, is forward-biased. For this reason, the bit line BLi and cell source line SL are charged to Vera-Vb. Vb is the built-in potential of the p-n junction.

[0200] In the programming operation, the bit line BLi connected to a selected memory cell in which “1” data is to be programmed, i.e., the bit line BLi connected to a selected memory cell maintaining the erase state is set at the power supply potential VCC (e.g., 3.3V). The bit line BLi connected to a selected memory cell in which “0” data is to be programmed is set at 0V.

[0201] The select gate line SSL of a selected block on the bit line side is set at the power supply potential VCC. The select gate line GSL on the cell source line side is set at 0V. The control gate line CGL is set at a program voltage Vprog (e.g., 18V).

[0202] The select gate lines SSL and GSL, control gate line CGL, and cell P-well of an unselected block are set at 0V.

[0203] The cell source line is set at 0V. However, if the channel potential of a memory cell in the selected block, in which “1” data is to be programmed, is boosted by capacitive coupling with the control gate line CGL, and the leakage current of the cell source line poses a problem due to punch-through, the potential of the cell source line is preferably set at the power supply potential VCC.

[0204] In the read operation, the select gate lines SSL and GSL of a selected block are set at the power supply potential VCC, and the control gate line CGL is set at 0v. When the bit line is to be precharged before the data read, the bit line BLi is set at a precharge potential (e.g., 1.2V) VBL.

[0205] Of selected memory cells, a memory cell storing “1” data is turned on to flow the cell current, so the bit line BLi is discharged to 0V. Of the selected memory cells, a memory cell storing “0” data is turned off, and no cell current flows. Hence, the bit line BLi holds the precharge potential VBL.

[0206] If the read operation is to be performed by applying the power supply potential VCC (e.g., 3.3V) to the control gate line CGL of the selected block, the threshold distribution of memory cells is set as shown in FIG. 7.

[0207] Table 4 shows the potentials of the select gate lines SSL and GSL, control gate line (word line) CGL, bit line BLi, cell source line SL, and cell P-well in the above-described erase, program, and read operations when the threshold distribution shown in FIG. 7 is set. TABLE 4 Erase Program Read Selected Select Gate Line SSL Vera × β VCC VCC Block on Bit Line Side Control Gate Line OV Vprog VCC CGL Select Gate Line GSL Vera × β OV VCC on Source Line Side Un- Select Gate Line SSL selected on Bit Line Side Vera × β OV OV Block Control Gate Line Vera × β OV OV CGL Select Gate Line GSL Vera × β OV OV on Source Line Side Bit Line “1” Data Vera-Vb VCC VBL→OV “0” Data Vera-Vb OV VBL Cell Source Line Vera-Vb VCC OV Cell P-well Vera OV OV

[0208] In the present invention, as described above, since select transistors are connected to the two ends of a memory cell, the tail of the threshold distribution of a memory cell after the erase (“1” data) may move from the positive to negative sides.

[0209]FIG. 8 is a block diagram showing the main portion of the byte EEPROM of the present invention.

[0210] This EEPROM has a memory cell array 11 in which memory cell units each formed from three elements, i.e., one memory cell sandwiched by two select transistors, a plurality of control gate lines 10 a extending in the row direction on the memory cell array 11, and a plurality of bit lines 10 b extending in the column direction on the memory cell array 11.

[0211] A row decoder 12 selects a row, i.e., one of the control gate lines 10 a. Data of memory cells connected to the selected control gate line 10 a are input to sense amplifiers 13 each formed from a sense amplifier having a data latch function and arranged in units of columns. A column decoder 14 selects a column, i.e., the bit line BLi.

[0212] Data of the sense amplifier of the selected column is output from the memory chip via a data input/output buffer 18. Data input to the memory chip is latched by the sense amplifier of the selected column, which has the latch function, via the data input/output buffer 18.

[0213] A booster 16 generates a high voltage necessary for the program operation or erase operation. A control circuit 17 controls the operation of each circuit in the memory chip and also serves as an interface between the internal and external circuits of the memory chip. The control circuit 17 includes a sequence control means (e.g., a programmable logic array) for controlling the erase, program, and read operations for a memory cell.

[0214]FIG. 9 shows one of the sense amplifiers 13 shown in FIG. 8, which is connected to one bit line BLi and has the latch function.

[0215] The sense amplifier is mainly constructed by a latch circuit 21 having two CMOS inverters I1 and I2. The output of one inverter is input to the other inverter. A latch node Q of the latch circuit 21 is connected to the I/O line via a column selection NMOS transistor M8. The latch node Q is also connected to the bit line BLi via a sense amplifier disconnection NMOS transistor M4 and bit line potential clamp NMOS transistor M1.

[0216] The connection node between the NMOS transistors M1 and M4 is a sense node Nsense. The sense node Nsense is connected to a precharge PMOS transistor M2 and discharge NMOS transistor M3. The precharge PMOS transistor M2 charges the sense node Nsense in a predetermined period on the basis of a precharge control signal Load. The discharge NMOS transistor M3 discharges the sense node Nsense on the basis of a discharge control signal DCB.

[0217] A latch node Qb of the latch circuit 21 is connected to a reset NMOS transistor M5 for forcibly grounding the latch node Qb on the basis of a control signal φL1. The latch node Q of the latch circuit 21 is connected to a reset NMOS transistor M6 for forcibly grounding the latch node Q on the basis of a control signal φL2.

[0218] The common source of the reset NMOS transistors M5 and M6 is connected to ground via a sense NMOS transistor M7 controlled by the potential of the sense node Nsense. The sense NMOS transistor M7 is also used to reset the latch circuit 21 together with the NMOS transistors M5 and M6.

[0219]FIG. 10 is a schematic flow chart showing the data change operation for byte data of the byte EEPROM of the present invention.

[0220] The sequence operation shown in this flow chart is controlled by the control circuit 17 shown in FIG. 8. The data change operation for byte data will be described with reference to this flow chart.

[0221] In the byte data change mode, data of one page of memory cells connected to a selected control gate line (word line) are read out to the sense amplifiers. (page read). The sense amplifiers latch the data of one page (step ST1).

[0222] Byte data corresponding to columns designated by addresses is loaded. The loaded byte data is superscribed on byte data in the data of one page latched by the sense amplifiers, which is subjected to data change (step ST2).

[0223] The data of one page of the memory cells connected to the selected control gate line are simultaneously erased (page erase) (step ST3). After the erase, an erase verify is performed to verify whether all the memory cells connected to the selected control gate line are completely erased or over-erased (steps ST4 and ST5).

[0224] The page erase and erase verify are repeated until the threshold values of all the memory cells of the page fall within a predetermined range. When the threshold values of all the memory cells of the page fall within the predetermined range (completion of erase), the flow advances to the next operation (steps ST3 to ST5).

[0225] When only one sense amplifier having the latch function is connected to one bit line (only one page is present), the data in the sense amplifier may be destroyed depending on the result of the erase verify. In this case, the erase is performed only once without an erase verify.

[0226] After this, data of one page latched by the sense amplifiers are simultaneously programmed in the memory cells connected to the selected control gate line (step ST6). After programming, a program verify is performed to verify whether the data are completely programmed or over-programmed in the memory cells connected to the selected control gate line (steps ST7 and ST8).

[0227] The page program and program verify are repeated until the threshold values of all the memory cells of the page fall within a predetermined range. When the threshold values of all the memory cells of the page fall within the predetermined range (completion of programming), the data change operation for byte data is ended.

[0228] When data are to be programmed only once using a high program potential in accordance with one program pulse, the program verify may be omitted.

[0229] FIGS. 11 to 14 show the data of the selected memory cells and the states of the node Qb (FIG. 9) in the main processes in FIG. 10.

[0230]FIG. 11 shows a state wherein data of one page of the memory cells connected to the selected control gate line (word line) are read to the sense amplifiers (corresponding to step ST1).

[0231] When the data of a memory cell is at “0” (the threshold voltage is positive), the bit line BLi is not discharged and maintains the precharge potential. The sense node Nsense shown in FIG. 9 has the power supply potential VCC. When the control signal φL2 is at the power supply potential VCC, the node Q is at a ground potential VSS, i.e., “0”.

[0232] When the data of a memory cell is at “1” (the threshold voltage is negative), the bit line BLi is discharged. The sense node Nsense shown in FIG. 9 has the ground potential VSS. When the control signal φL2 is at the power supply potential VCC, the node Q is at the power supply potential VCC, i.e., “1”.

[0233]FIG. 12 shows a state wherein data is superscribed on byte data (8-bit data) designated by addresses in the data of one page latched by the sense amplifiers (corresponding to step ST2).

[0234]FIG. 13 shows a state wherein the data of the memory cells connected to the selected control gate line (word line) are erased (page erase) (corresponding to step ST3). The data of the memory cells connected to the selected control gate line are set at “1” by the page erase.

[0235]FIG. 14 shows a state wherein the data of one page latched by the sense amplifiers are programmed in the memory cells connected to the selected control gate line (word line) (corresponding to step ST6).

[0236] In the memory cell array 11, the data change operation for page data is performed. In fact, the data change operation for byte data is performed.

[0237] The read operation for the page program and program verify will be described next in detail with reference to the timing charts in FIGS. 15 and 16 with emphasis on the operation of the sense amplifier shown in FIG. 9.

[0238]FIGS. 15 and 16 show two divisions of one timing chart, and t5 in FIG. 15 and t5 in FIG. 6 represent the same time. That is, waveforms at the second half of FIG. 15 partly overlap those at the first half of FIG. 16.

[0239] When a command for instructing programming is input from an external circuit to an internal circuit of the chip, the program operation is started.

[0240] To reset the sense node Nsense, the control signal DCB is set at the power supply potential VCC. The MOS transistor M3 is turned on to ground the sense node Nsense (t1).

[0241] A control signal BLSHF is also set at the power supply potential VCC together with the control signal DCB. The MOS transistor M1 is turned on to ground the bit line BLi.

[0242] Before program data are loaded to the sense amplifiers, the data latch control signal φL1 is set at the power supply potential VCC, and the precharge control signal Load is set at the ground potential VSS. The. MOS transistors M5 and M7 are turned on to forcibly ground the latch node Qb of the latch circuit 21 and reset data. More specifically, in each of the sense amplifiers 20, the latch node Q of the latch circuit 21 is set at the power supply potential VCC, and the latch node Qb is set at the ground potential VSS (t2).

[0243] The program data are loaded from the I/O line and latched by the latch circuits 21 of the sense amplifiers 20. The nodes Q and Qb are set at “H” or “L” level in accordance with the loaded data (t3).

[0244] More specifically, in the latch circuit 21 of a sense amplifier corresponding to a memory cell for “0” programming, “L” level (=VSS) is applied to the latch node Q. In the latch circuit 21 of a sense amplifier corresponding to a memory cell for “1” programming (program inhibit), “H” level (=VCC) is applied to the latch node Q.

[0245] When the control signals BLSHF and SBL are at “H” level, charge of each bit line is started on the basis of the data latched by the latch circuit 21 of a corresponding sense amplifier 20 (t4).

[0246] More specifically, the bit line BLi connected to a memory cell for “0” programming is set at the ground potential VSS. The bit line connected to a memory cell for “1” programming (program inhibit) is charged to the power supply potential VCC. The selected control gate line (word line) is set at the program voltage Vprog (about 20V).

[0247] With this operation, the memory cells of one page are programmed.

[0248] After the data program is ended, the program verify is started to verify whether the data program is completely performed.

[0249] The program verify read is performed. This verify read operation is the same as the normal read operation.

[0250] When the control signal DCB is set at the power supply potential VCC, the MOS transistor M3 is turned on to forcibly ground the sense node Nsense (t5).

[0251] When a reference potential Vref (about 0.5V) is applied to the selected control gate line CGL, and the power supply potential VCC is applied to the select gate lines SSL and GSL, the verify read is performed (t6).

[0252] For the read, bit line precharge sensing scheme or current detection sensing scheme can be used. In the bit line precharge sensing scheme, the bit line BLi is precharged and floated, and then, the potential of the bit line is maintained or dropped in accordance with data of a memory cell. The current detection sensing scheme will be described below in detail.

[0253] At time t6, the control signal BLSHF is clamped from the boosted potential VCC+α to a potential VCC−α. Data is read on the basis of the balance between the memory cell current flowing to the MOS transistor M1 and the current of the MOS transistor M2 for charging the sense node Nsense. When the potential of the bit line BLi increases to, e.g., 0.9V, the MOS transistor M1 is cut off, and the sense node Nsense is set at the power supply potential VCC.

[0254] After the sense node Nsense is at “H” level (=VCC), the latch control signal φL1 is set at the power supply potential VCC to turn on the MOS transistor M5 (t7). When the sense node Nsense is at the power supply potential VCC (in a sense amplifier connected to a memory cell having a threshold voltage higher than the verify potential Vref), the MOS transistor M7 is turned on to set the latch node Qb at the ground potential VSS and the latch node Q at the power supply potential VCC.

[0255] When the ground potential VSS is loaded to the latch node Q, and programming is properly performed, the latch data of the latch circuit 21 is inverted. If programming in the memory cell is insufficient, the sense node Nsense remains “L” level (=VSS) in the verify read. For this reason, the data of the latch circuit 21 is not inverted, and the latch node Q keeps the ground potential VSS. In a sense amplifier connected to a program inhibit memory cell, the latch node Q is at the power supply potential VCC, and no data inversion occurs.

[0256] When a memory cell is insufficiently programmed, i.e., when data of the latch circuit 21 of a sense amplifier is not inverted, programming and verify read are repeated. When the potentials of the latch nodes Q of all sense amplifiers of one page are set at the power supply potential VCC, programming is ended.

[0257] The data change operation for byte data will be described next in detail with reference to the timing chart shown in FIG. 17 with emphasis on the operation of the sense amplifier shown in FIG. 9.

[0258] When a command for instructing the byte data change mode is input from an external circuit to an internal circuit of the chip, the data change operation for byte data starts.

[0259] A read of data already programmed in memory cells of one page, which are connected to the selected control gate line (word line), is started.

[0260] The data latch control signal φL1 is set at the power supply potential VCC, and the precharge control signal Load is set at the ground potential VSS. The MOS transistors M5 and M7 are turned on to forcibly ground the latch node Qb of each latch circuit 21 and reset the data. More specifically, in each of the sense amplifiers, the latch node Q of the latch circuit 21 is set at the power supply potential VCC, and the latch node Qb is set at the ground potential VSS (t1).

[0261] The control signal DCB is set at the power supply potential VCC. The MOS transistor M3 is turned on to forcibly ground the sense node Nsense (t2). When the ground potential VSS (=0V) is applied to the selected control gate line CGL, and the power supply potential VCC is applied to the select gate lines SSL and GSL, the read is performed (t3).

[0262] After the sense node Nsense is at “H” level (=VCC), the latch control signal φL2 is set at the power supply potential VCC to turn on the MOS transistor M6 (t4). When the sense node Nsense is at the power supply potential VCC (i.e., in a sense amplifier connected to a memory cell having data “0” and a threshold voltage higher than the ground potential VSS), the MOS transistor M7 is turned on to set the latch node Q at the ground potential VSS and the latch node Qb at the power supply potential VCC.

[0263] Next, the control signal DCB is set at the power supply potential VCC, and the control signal BLSHF is set at the power supply potential VCC or the potential VCC+α to reset the bit line BLi and sense node Nsense (t5).

[0264] After this, byte data is loaded to the latch circuit 21 of the sense amplifier 20 designated by a column address. The nodes Q and Qb are set at “H” or “L” level in accordance with the loaded data (t6).

[0265] The byte data input from the external circuit of the chip is superscribed on predetermined data of page data programmed in the latch circuit 21.

[0266] After this, the page erase operation is performed for the memory cells connected to the selected control gate line.

[0267] The control gate line of the selected block is set at the ground potential VSS. The control gate lines of unselected blocks and all select gate lines are set in the floating state. When the erase voltage Vera is applied to the cell P-well, the select gate lines and the control gate lines of the unselected blocks, which are in the floating state, are boosted to Vera×β (β is the coupling ratio) by the capacitive coupling with the cell P-well.

[0268] The bit line BLi and cell source line SL are connected to the N⁺-type layer in the cell P-well. When the p-n junction between the N⁺-type layer and cell P-well is forward-biased, the bit line BLi and cell source line SL are charged to Vera−Vb (t7). Vb is the built-in potential of the p-n junction.

[0269] After this, the erase verify is performed to confirm that all the memory cells of the selected page are in the erase state, i.e., the threshold voltage of each memory cell becomes negative. On the basis of the data stored in the latch circuit 21, the program operation and program verify operation are performed for each memory cell of the selected page.

[0270] The operation after the erase verify is not illustrated in FIG. 17.

[0271]FIG. 18 shows an example in which a NAND flash EEPROM partially has the memory cell array of the byte EEPROM of the present invention.

[0272] The byte EEPROM of the present invention can be regarded as a NAND flash EEPROM whose memory cell array has only one memory cell between two select transistors. Hence, the EEPROM of this example can be easily realized.

[0273] In the EEPROM of this example, memory cell units of two types with different structures are connected to one bit line BLi. More specifically, the first memory cell unit has a plurality of (e.g., 4, 8, 16, or 32) memory cells connected between two select transistors. The second memory cell unit has one memory cell connected between two select transistors.

[0274] To select a control gate line (word line), a drive circuit may be prepared for each of the first and second memory cell unit regions. If possible, the two regions may share one drive circuit.

[0275] The following memory cell array may be employed in place of the memory cell array of the NAND flash EEPROM shown in FIG. 18.

[0276]FIG. 19 shows the memory cell array of an AND flash EEPROM. FIG. 22 shows the memory cell array of a DINOR flash EEPROM.

[0277] The AND unit of the AND flash EEPROM shown in FIG. 19 has a plurality of memory cells connected in parallel between a sub bit line and a sub source line. The sub bit line is connected to a main bit line via a drain-side select transistor. The sub source line is connected to a main source line via a source-side select transistor.

[0278] For example, in a 64-Mbit AND flash EEPROM, one AND unit is formed from 128 memory cells (m=128) and two select transistors.

[0279] As the characteristic feature of this memory cell array, the bit lines (data lines) and source lines have a hierarchical structure. The bit lines and source lines are formed from main lines and sub lines, respectively. The sub lines have a pseudo contactless structure formed from diffusion layers.

[0280] Data is programmed/erased in/from a memory cell by the F-N (Fowler-Nordheim) tunneling current.

[0281] As shown in FIG. 20, data is programmed by removing electrons from the floating gate to the drain using the F-N tunneling current. As shown in FIG. 21, data is erased by injecting electrons from the substrate (entire channel surface) to the floating gate using the F-N tunneling current.

[0282] The characteristic features of the DINOR (Divided Bit Line NOR) flash EEPROM shown in FIG. 22 are as follows. This EEPROM can operate using a single power supply, like a NAND flash EEPROM. The change rate is high, and the memory size is small. High-speed random access is possible, as in a NOR flash EEPROM.

[0283] A memory cell unit of the DINOR flash EEPROM has the hierarchical structure of a main bit line and sub bit line in the memory cell array, and in terms of size, almost equals the AND unit of the AND flash EEPROM. The memory cell has a stacked gate structure, as in the NOR flash EEPROM or NAND flash EEPROM. The drain of a memory cell is connected to a sub bit line formed from polysilicon.

[0284] For example, in a 16-Mbit DINOR flash EEPROM, 64 memory cells are connected to a sub bit line. When a contact to each memory cell is achieved by a so-called buried contact between polysilicon and the diffusion layer, the memory cell size can be reduced.

[0285] The data program/erase mechanism in the memory cell is the same as that of the AND flash EEPROM and uses the F-N tunneling current.

[0286] More specifically, data is programmed in the memory cell by removing electrons from the floating gate to the drain using the F-N tunneling current. Data is erased by injecting electrons from the substrate (entire channel surface) to the floating gate using the F-N tunneling current.

[0287] The sense amplifier shown in FIG. 9 is connected to the main bit line shown in FIG. 19 or 22. The data change operation for byte data is executed on the basis of the flow chart shown in FIG. 10.

[0288] As described above, even in the EEPROM having a memory cell array as shown in FIG. 18, 19, or 22, the data change operation for byte data can be performed for each memory cell unit of the memory cell array by employing the data change scheme shown in the flow chart of FIG. 10.

[0289] In the memory cell of the byte EEPROM of the present invention, the select transistor on the bit line side may be omitted, and the memory cell unit may be formed. from one memory cell transistor and one source-side select transistor. In this case, in the data program mode, a middle voltage Vm for program inhibit, which is about ½ the program voltage Vprog, is applied to the program inhibit bit line on the basis of the data of the sense amplifier.

[0290] Conventionally, a memory cell called an SONOS (Silicon-Oxide-Nitride-Oxide-Silicon) cell is known. As the characteristic feature of this memory cell, data (“0” or “1”) is specified on the basis of the amount of electrons trapped by the silicon nitride film immediately under the gate electrode (word line).

[0291] A SONOS cell is disclosed in, e.g., reference 4 (A. Lancaster et al., “A 5V-Only EEPROM with Internal Program/Erase Control”, IEEE International Solid-State Circuits Conference, pp. 164-165, Febuary 1983).

[0292] The memory cell unit in reference 4 is constructed by one memory cell and two select transistors sandwiching the memory cell. Reference 4 also indicates that the data change operation for byte data can be performed in the SONOS cell (“LOAD-LATCHES-ROW-ERASE operation”, lines 31 to 40, left column, p. 164).

[0293] However, reference 4 has not specifically disclosed the data change operation for byte data. That is, the actual method of data change operation for byte data is not clear. In addition, the memory cell disclosed in reference 4 has no stacked gate structure, unlike the flash EEPROM, but a structure in which the gate of the memory cell and the gates of the select transistors overlap.

[0294] The present invention can provide a remarkable effect different from those of the conventional NAND flash EEPROM and the memory cell in reference 4.

[0295] More specifically, as described above, after the program or erase, a memory cell has the threshold voltage distribution shown in FIG. 6 or 7. In the conventional NAND flash EEPROM, the upper and lower limits of the threshold voltage distribution of data “0” or “1” are predetermined. The threshold voltage of each data must be set within a predetermined range by the verify. The memory cell in reference 4 has an SONOS structure. Since the electron trapping amount of the silicon nitride film is almost predetermined, it is difficult to freely shift the threshold voltage distribution of the memory cell (see e.g., W. D. Brown et al., “Nonvolatile Semiconductor Memory Technology”, IEEE Press Series on Microelectronic Systems Stu Tewksbury, Series Editor, p. 70, p. 212, p. 316, p. 326, p. 327, and p. 344).

[0296] According to the present invention, by, e.g., adjusting the program or erase time or the voltage, the threshold voltage distribution of data “1” and that of data “0”can be sufficiently separated from each other in FIG. 6 or 7. More specifically, the margin (gap) between the threshold voltage distribution of data “1” and that of data “0” can be increased to sufficiently program or erase data, thereby preventing any read error. In addition, since there are no upper and lower limits of the threshold voltage distribution of each data, no verify is required, and a so-called “only one program” and “only one erase” can be performed.

[0297]FIG. 23 shows an example of the circuit block of the byte EEPROM of the present invention. FIG. 24 shows part of the memory cell array 11 in FIG. 23.

[0298] The circuit block of this example is applied to an EEPROM having the memory cell array shown in FIG. 3 and is similar to the circuit block of the NAND EEPROM.

[0299] In the present invention, a memory cell unit is formed from three elements, i.e., one memory cell and two select transistors sandwiching the memory cell. One block BLKi (i=0, 1, . . . , n) has memory cells connected to one control gate line CGL, i.e., memory cells of one page.

[0300] A control gate/select gate driver 12c is prepared in correspondence with one block BLKi (i=0, 1, . . . , n), i.e., one control gate line CGL (one page). Each driver 12 c has a booster. A predecoder 12 a and row decoder 12 b are also prepared in correspondence with one block BLKi, i.e., one control gate line CGL (one page).

[0301] A row address signal is input to the predecoder 12 a via an address register 19. The predecoder 12 a and row decoder 12 b select one row (or one block). When the block BLKi is selected, the driver 12 c applies predetermined potentials corresponding to the operation mode to the control gate line CGL and select gate lines SSL and GSL in the selected block BLKi (Tables 3 and 4).

[0302] The sense amplifier 13 having the latch function latches read data or program data. Read data (output data) is output from the memory chip via a column selecting circuit 15 and the data input/output buffer 18. Program data (input data) is latched by the sense amplifier 13 having the latch function via the data input/output buffer 18 and column selecting circuit 15.

[0303] A command signal is input to a command decoder 26 via the data input/output buffer 18 and a command register 25. The output signal from the command decoder 26, a command latch enable signal CLE, a chip enable signal {overscore (CE)}, or a write enable signal {overscore (WE)} is input to the control circuit 17.

[0304] A signal generating circuit (booster) 27 generates potentials to be applied to the control gate line CGL and select gate lines SSL and GSL and supplies the potentials to the control gate/select gate driver 12 c under the control of the control circuit 17.

[0305]FIG. 25 shows another example of the circuit block of the byte EEPROM of the present invention. FIG. 26 shows part of the memory cell array 11 in FIG. 25.

[0306] The circuit block of this example is applied to an EEPROM having the memory cell array shown in FIG. 18.

[0307] The memory cell array is comprised of a 3-tr cell section 11-0 having memory cell units of the present invention and a NAND cell section 11-1 having NAND cell units.

[0308] The 3-tr cell section 11-0 has memory cell units each having three elements, i.e., one memory cell and two select transistors sandwiching the memory cell, and is divided into n blocks BLK0, BLK1, . . . , BLKn. The NAND cell section 11-1 has NAND cell units each having a plurality of (e.g., 4, 8, or 16) memory cells serially connected and two select transistors sandwiching the memory cells, and is divided into m blocks BLK0, BLK1, BLKm.

[0309] Each block BLKi (i=0, 1, . . . , n) of the 3-tr cell section 11-0 has memory cells connected to one control gate line CGL, i.e., memory cells of one page. Each block BLKi (i=0, 1, . . . , m) of the NAND cell section 11-1 has memory cells connected to a plurality of control gate lines CGL, i.e., memory cells of a plurality of pages.

[0310] In the 3-tr cell section 11-0, the control gate/select gate driver 12 c is prepared in correspondence with one block BLKi, i.e., one control gate line CGL (one page). Each driver 12 c has a booster. The predecoder 12 a and row decoder 12 b are also prepared in correspondence with one block BLKi, i.e., one control gate line CGL (one page).

[0311] In the NAND cell section 11-1, the control gate/select gate driver 12 c is prepared in correspondence with one block BLKi including a plurality of control gate lines CGL0, . . . , CGL7 (a plurality of pages). Each driver 12 c has a booster. The predecoder 12 a and row decoder 12 b are also prepared in correspondence with one block BLKi including the plurality of control gate lines CGL0, CGL7 (a plurality of pages).

[0312] The row address signal is input to the predecoder 12 a via the address register 19. The predecoder 12 a and row decoder 12 b select one row (or one block) of the 3-tr cell section 11-0 or NAND cell section 11-1.

[0313] The sense amplifier 13 having the latch function latches read data or program data. Read data (output data) is output from the memory chip via the column selecting circuit 15 and data input/output buffer 18. Program data (input data) is latched by the sense amplifier 13 having the latch function via the data input/output buffer 18 and column selecting circuit 15.

[0314] The command signal is input to the command decoder 26 via the data input/output buffer 18 and command register 25. The output signal from the command decoder 26, command latch enable signal CLE, chip enable signal {overscore (CE)}, or write enable signal {overscore (WE)} is input to the control circuit 17.

[0315] The signal generating circuit (booster) 27 generates potentials to be applied to the control gate line CGL and select gate lines SSL and GSL and supplies the potentials to the control gate/select gate driver 12 c under the control of the control circuit 17.

[0316]FIG. 27 shows the data change operation for byte data applied to the EEPROMs shown in FIGS. 23 to 26.

[0317]FIG. 27 shows the data change operations shown in FIGS. 11 to 14 together to help understanding.

[0318] The data change operation for byte data of the present invention has the following four main processes.

[0319] {circle over (1)} Data are read out from memory cells of one page in the selected block and held by sense amplifiers having the latch function.

[0320] {circle over (2)} Byte data is superscribed on the data held by the sense amplifiers having the latch function.

[0321] {circle over (3)} The data of the memory cells of one page. in the selected block are erased.

[0322] {circle over (4)} The data held by the sense amplifiers having the latch function are programmed in the memory cells of one page in the selected block.

[0323] With these processes, a nonvolatile semiconductor memory which can be formed by the same process as that of a flash EEPROM and can perform data change operation for byte data although the same data change method as that of the flash EEPROM is applied can be provided. (A flash EEPROM usually erases data of memory cells at once in units of blocks without process • and cannot perform the data change operation for byte data. However, data can be programmed in units of bytes after the data of all memory cells in the block are erased).

[0324] For the EEPROM to which the data change operation for byte data shown in FIG. 27 is applied, the number of data change operations of the memory cell, i.e., the maximum value of the number of program/erase cycles will be examined.

[0325] When 1-byte data is to be changed by the method shown in FIG. 27, the read, erase, and program operations are performed once for data of one page in the selected block. In the selected block, the read, erase, and program operations are performed once even for a memory cell whose data is not to be changed.

[0326] For example, when all data in one page are to be changed by the method shown in FIG. 27 in units of bytes, the number of pages read, erase, and program operations is substantially larger than that in changing data of one page at once by a multiple of the number of bytes contained in one page.

[0327] When one page has, e.g., 64 bytes, and the data of one page are to be changed at once, the page read, erase, and program operations need be performed once. However, the data of one page are to be changed in units of bytes, the page read, erase, and program operations need be performed 64 times.

[0328] In the data change operation for byte data shown in FIG. 27, the read, erase, and program operations are performed once for data of one page in the selected block, thereby changing 1-byte data. Hence, the number of page read, erase, and program operations in changing data of one page by the method of the present invention is larger than that in changing the data of one page at once by a multiple of the number of bytes contained in one page at maximum.

[0329] To prevent the increase in number of pages read, erase, and program operations, the number of pages read, erase, and program operations may be decreased by superscribing a plurality of byte data after one page read cycle shown in FIG. 27.

[0330] A nonvolatile semiconductor memory which can decrease the number of page read, erase, and program operations while maintaining the data change operation for byte data by a means different from superscription of a plurality of byte data will be described below.

[0331]FIG. 28 shows an improved example of the byte EEPROM shown in FIG. 23.

[0332] In the present invention, the memory cell array 11 is formed from a plurality of blocks BLKi-j (i=0, 1, . . . , n; j=0, 1, 2, 3) arranged in a matrix in the row and column directions.

[0333] In the above-described examples, as shown in FIGS. 23 and 25, the blocks BLKi are arranged only in the column direction, and memory cells of one page, which are connected to one control gate line CGL are always in one block BLKi. In this example, however, memory cells of one page are divided into a plurality of blocks in units of integer multiples of 1 byte (8 bits), and a plurality of blocks are also arranged in the row direction.

[0334] More specifically, when one page has memory cells of k bytes (k is a positive integer), and memory cells of r bytes (r is a positive integer, r≦k) form one block, the number of blocks in the row direction is k/r. In this example, the number of blocks in the row direction is four. In this case, one block has memory cells of 16 bytes, and one page has memory cells of 64 bytes.

[0335] The control gate/select gate driver 12 c is prepared in correspondence with four blocks BLKi-j in the row direction, i.e., one control gate line CGL (one page). Each driver 12 c has a booster. The predecoder 12 a and row decoder 12 b are also prepared in correspondence with four blocks BLKi-j, i.e., one control gate line CGL (one page).

[0336] A sub control gate driver 28 is prepared in correspondence with one block BLKi-j.

[0337] The row address signal is input to the predecoder 12 a and a sub decoder 29 via the address register 19. The predecoder 12 a and row decoder 12 b select four blocks BLKi-j in one row. The sub decoder 29 selects one of the four selected blocks BLKi-j.

[0338] The sub decoder 29 may have a function of selecting a plurality of blocks in one selected row or all blocks (in this example, four blocks) in one selected row.

[0339] In the present invention, the data read, erase, and program operations can be performed in units of blocks. That is, in the data change operation for byte data, data of one page need not be read out to the sense amplifiers having the latch function. According to the present invention, in the data change operation for byte data, the number of read, erase, and program operations can be decreased as compared to the examples shown in FIGS. 23 and 25, so the substantial program/ erase endurance characteristics can be improved.

[0340] Assume that the program/erase endurance characteristics, i.e., the maximum value of the number of data change operations of an EEPROM in which one page has memory cells of k bytes (k is an integer) is 1×10⁶.

[0341] In the examples shown in FIGS. 23 and 25, to change data of one page, the read, erase, and program operations are required k times. The program/erase endurance characteristics substantially decrease to (1/k)×10⁶ times.

[0342] In the present invention, one page is divided into k/r blocks (r is a positive integer, r≦k). Each block has memory cells of r bytes. The read, erase, and program operations can be performed in units of blocks. For this reason, the number of read, erase, and program operations for changing data of one page is substantially as small as (1/r)×10⁶.

[0343] More specifically, when one page consists of 64 bytes, the program/erase endurance characteristics of the examples shown in FIGS. 23 and 25 are 1.7×10⁴. On the other hand, when one page is formed from eight blocks, and each block has 8 bytes, the program/erase endurance characteristics of the present invention are given as 1.3×10⁵ times. The substantial program/erase endurance characteristics are improved by one order of magnitude, as compared to the examples shown in FIGS. 23 and 25.

[0344] In the present invention, by forming one block from 1 byte, the substantial program/erase endurance characteristics can be maximized to 1×10⁶ times.

[0345] When the block BLKi-j is selected, a control gate/select gate driver i applies predetermined potentials corresponding to the operation mode to the control gate line CGL and select gate lines SSL and GSL in the selected block BLKi-j (Tables 3 and 4).

[0346] The sense amplifier 13 having the latch function latches read data or program data. Read data (output data) is output from the memory chip via the column selecting circuit 15 and data input/output buffer 18. Program data (input data) is latched by the sense amplifier 13 having the latch function via the data input/output buffer 18 and column selecting circuit 15.

[0347] The command signal is input to the command decoder 26 via the data input/output buffer 18 and command register 25. The output signal from the command decoder 26, command latch enable signal CLE, chip enable signal {overscore (CE)}, or write enable signal {overscore (WE)} is input to the control circuit 17.

[0348] The signal generating circuit (booster) 27 generates potentials to be applied to the control gate line CGL and select gate lines SSL and GSL and supplies the potentials to the control gate/select gate driver 12 c under the control of the control circuit 17.

[0349]FIG. 29 shows an example of a predecoder PDi.

[0350] In this example, the number of rows, i.e., the number of control gate lines CGL (the number of blocks) is assumed to be 1,024 (2¹⁰). In this case, one control gate line CGL can be selected by 10 row address signal bits a1, a2, . . . , a10.

[0351] The row address signal bits a1, a2, and a3 are input to a NAND circuit 30-1. The row address signal bits a4, a5, and a6 are input to a NAND circuit 30-2. The row address signal bits a7, a8, a9, and a10 are input to a NAND circuit 30-3. The output signal from the NAND circuit 30-1 is output as a signal D via an inverter 31-1. The output signal from the NAND circuit 30-2 is output as a signal E via an inverter 31-2. The output signal from the NAND circuit 30-3 is output as a signal F via an inverter 31-3.

[0352] The predecoders PDi receive the different row address signal bits a1, a2, . . . , a10, respectively. Only the output signals D, E, and F from the predecoder PDi belonging to one selected row are at “1”.

[0353]FIG. 30 shows examples of a row decoder RDi and main control gate/select gate driver i.

[0354] The row decoder RDi is formed from a NAND circuit 32 and inverter 33. The output signals D, E, and F from the predecoder PDi are input to the NAND circuit.

[0355] The main control gate/select gate driver {overscore (i)} has a booster 34 and NMOS transistors 35-1, 35-2, and 35-3 as drive circuits.

[0356] In the main control gate/select gate driver i belonging to the selected row, the power supply potential VCC or boosted potential is applied to the gates of the NMOS transistors 35-1, 35-2, and 35-3.

[0357] For example, when data is to be programmed, in the driver i belonging to the selected row, an output potential VB of the booster 34 is at the boosted potential Vprog to turn on the NMOS transistors 35-1, 35-2, and 35-3. The signal generating circuit 27 generates potentials SS(=VCC), CG(=Vprog), and GS(=0V). These potentials SS, CG, and GS are applied to a main control gate line CGLi and select gate lines SSLi and GSLi in the selected row via the NMOS transistors 35-1, 35-2, and 35-3, respectively.

[0358] When data is to be erased, in the driver i belonging to the selected row, the output potential VB of the booster 34 is at the power supply potential VCC to turn on the NMOS transistors 35-1, 35-2, and 35-3. The signal generating circuit 27 generates potentials SS(=VCC), CG(=0V), and GS(=VCC). These potentials SS, CG, and GS are applied to the main control gate line CGLi and select gate lines SSLi and GSLi in the selected row via the NMOS transistors 35-1, 35-2, and 35-3, respectively.

[0359] After this, the select gate lines SSLi and GSLi are set in the floating state. For this reason, when the erase potential Vera is applied to the P-well, the potentials of the select gate lines SSLi and GSLi increase to Vera+α due to the capacitive coupling between the P-well and select gate lines SSLi and GSLi.

[0360] When data is to be read, in the driver i belonging to the selected row, the output potential VB of the booster 34 is at the power supply potential VCC or VCC+α (α is a value equal to or larger than the threshold voltage value of the N-channel transistor) to turn on the NMOS transistors 35-1, 35-2, and 35-3. The signal generating circuit 27 generates potentials SS(=VCC), CG(=0V or VCC), and GS(=VCC). These potentials SS, CG, and GS are applied to the main control gate line CGLi and select gate lines SSLi and GSLi in the selected row via the NMOS transistors 35-1, 35-2, and 35-3, respectively.

[0361] In the main control gate/select gate driver i belonging to an unselected row, the ground potential is applied to the gates of the NMOS transistors 35-1, 35-2, and 35-3, so the NMOS transistors 35-1, 35-2, and 35-3 are turned off. Hence, the main control gate line CGLi and select gate lines SSLi and GSLi in the unselected row are in the floating state.

[0362] In the data read mode, the ground potential VSS (0V) may be applied to the select gate lines SSLi and GSLi in the unselected row. In this case, ground MOS transistors are connected to all the select gate lines SSLi and GSLi, respectively, and ON/OFF-controlled by the presence/absence of row (block) selection.

[0363]FIG. 31 shows an example of a plurality of blocks and sub control gate drivers arranged in one row.

[0364] In this example, four blocks BLKi-0, BLKi-1, BLKi-2, and BLKi-3 are arranged in one row in correspondence with the circuit block shown in FIG. 28.

[0365] The blocks BLKi-j (j=0, 1, 2, 3) have sub control gate lines CGLi-0, CGLi-1, CGLi-2, and CGLi-3, respectively. Each sub control gate line CGLi-j (j=0, 1, 2, 3) is connected to memory cells of an integer multiple of 1 byte (e.g., 16 bytes), which are arranged in the corresponding block BLKi-j.

[0366] The sub control gate line CGLi-j is connected to the main control gate line CGLi via an NMOS transistor 36-j serving as a drive circuit in the sub control gate driver 28.

[0367] The NMOS transistor 36-j is ON/OFF-controlled by the sub decoder 29. The sub decoder 29 has a function of selecting one NMOS transistor 36-j (one block).

[0368] The sub decoder 29 may have a function of selecting a plurality of or all NMOS transistors 36-j (a plurality of or all blocks).

[0369] When data is to be programmed, in the selected block BLKi-j in the selected row, the program voltage Vprog is applied to the gate of the NMOS transistor 36-j to turn on the NMOS transistor 36-j. Hence, the high program potential Vprog is applied from the main control gate line CGLi to the sub control gate line CGLi-j in the selected block BLKi-j.

[0370] When data is to be erased, in the selected block BLKi-j in the selected row, the power supply potential VCC is applied to the gate of the NMOS transistor 36-j to turn on the NMOS transistor 36-j. Hence, the ground potential is applied from the main control gate line CGLi to the sub control gate line CGLi-j in the selected block BLKi-j.

[0371] When data is to be read, in the selected block BLKi-j in the selected row, the power supply potential VCC is applied to the gate of the NMOS transistor 36-j to turn on the NMOS transistor 36-j. Hence, the ground potential or power supply potential VCC is applied from the main control gate line CGLi to the sub control gate line CGLi-j in the selected block BLKi-j (Tables 3 and 4).

[0372] On the other hand, in an unselected block BLKi-j in the selected row, the ground potential is applied to the gate of the NMOS transistor 36-j to turn off the NMOS transistor 36-j. That is, the sub control gate line CGLi-j in the unselected block BLKi-j is in the floating state.

[0373] In the selected row, the plurality of sub control gate lines CGLi-j are arranged immediately under the main control gate line CGLi. When a predetermined potential is applied to the main control gate line CGLi in the program, erase, or read mode, the potential of the sub control gate line CGLi-j in the unselected block BLKi-j may change due to the capacitive coupling.

[0374] However, the change in potential of the sub control gate line CGLi-j in the unselected block BLKi-j does not adversely affect the read, erase, or program operation.

[0375] The select gate lines SSLi and GSLi in the selected row are common to all the blocks BLKi-j in the selected row.

[0376] In the data program mode, the ground potential or power supply potential VCC is applied to the select gate lines SSLi and GSLi of all the blocks BLKi-j in the selected row via the NMOS transistors 35-1 and 35-3. In the data erase mode, the power supply potential VCC is applied to the select gate lines SSLi and GSLi of all the blocks BLKi-j in the selected row via the NMOS transistors 35-1 and 35-3. In the data read mode, the power supply potential VCC is applied to the select gate lines SSLi and GSLi of all the blocks BLKi-j in the selected row via the NMOS transistors 35-1 and 35-3 (Tables 3 and 4).

[0377]FIG. 32 shows the first example of the data change operation for byte data applied to the EEPROM shown in FIGS. 28 to 31.

[0378] The data change operation for byte data of this example has the following four main processes.

[0379] {circle over (1)} Data are read out from memory cells in the selected block and held by the sense amplifiers having the latch function.

[0380] {circle over (2)} Byte data is superscribed on the data held by the sense amplifiers having the latch function.

[0381] {circle over (3)} The data of the memory cells in the selected block are erased.

[0382] {circle over (4)} The data held by the sense amplifiers having the latch function are programmed in the memory cells in the selected block.

[0383] As a characteristic feature of the data change operation for byte data of this example, the data change operation for byte data is performed to read only data of the selected block BLKi-j (data of an integer multiple of 1 byte) in the selected row without reading data of one page in the selected row, as is apparent from comparison to the data change operation shown in FIG. 27. That is, since data of memory cells of unselected blocks in the selected row need not be read, the read, erase, and program operations for the memory cell whose data are not to be changed can be omitted.

[0384] In the data change operation of this example, the number of read, erase, and program operations can be made smaller than that of the data change operation shown in FIG. 27. The substantial program/erase endurance characteristics, i.e., the number of data change operations can be improved.

[0385] According to this example, although the nonvolatile semiconductor memory can be formed by the same process as that of a flash EEPROM and uses the same data change method as that of the flash EEPROM, the data change operation for byte data can be performed without degrading the program/erase endurance characteristics.

[0386]FIG. 33 shows the second example of the data change operation for byte data applied to the EEPROM shown in FIGS. 28 to 31.

[0387] The data change operation for byte data of this example has the following four main processes.

[0388] {circle over (1)} Data are read out from memory cells of one page in the selected block and held by the sense amplifiers having the latch function.

[0389] {circle over (2)} Byte data is superscribed on the data held by the sense amplifiers having the latch function.

[0390] {circle over (3)} The data of the memory cells in the selected block are erased.

[0391] {circle over (4)} The data held by the sense amplifiers having the latch function are programmed in the memory cells in the selected block.

[0392] As a characteristic feature of the data change operation for byte data of this example, data are read from memory cells of one page, unlike the data change operation shown in FIG. 32. That is, in this example, although data of memory cells of one page are read, the erase and program operations are performed for only the selected block in the selected row. For this reason, unnecessary erase and program operations for data of memory cells of unselected blocks in the selected row can be omitted.

[0393] In the read operation, to select all blocks BLKi-j in the selected row, all the blocks BLKi-j in the selected row are multiple-selected by the sub decoder.

[0394] In the data change operation of this example, the number of page erase and program operations can be made smaller than that of the data change operation shown in FIG. 27. The substantial program/erase endurance characteristics, i.e., the number of data change operations can be improved.

[0395] According to this example, although the nonvolatile semiconductor memory can be formed by the same process as that of a flash EEPROM and uses the same data change method as that of the flash EEPROM, the data change operation for byte data can be performed without degrading the program/erase endurance characteristics.

[0396]FIG. 34 shows an example of the well layout in the memory cell array area.

[0397] In the flash EEPROM, normally, all memory cell units (memory cells and select transistors) are formed in one well (e.g., a twin well, i.e., a P-well in an N-well formed in a p-type substrate). In the present invention, however, sub control gate drivers are inserted between the memory cells. The sub control gate driver applies a high potential to the sub control gate. When this driver is formed in one well together with the memory cells, the threshold value may increase due to the back gate bias effect, or the operation becomes unstable due to the potential of the well.

[0398] In this example, the blocks BLKi-j in the column direction are formed in one well. The blocks BLKi-j in the row direction are arranged in different wells. In this case, the sub control gate drivers are formed outside the wells, i.e., on the p-type substrate, and the above problems can be solved.

[0399] When the potential to be applied to the well in the program and erase modes is appropriately adjusted, all memory cell units and sub control gate drivers can be arranged in one well.

[0400] In this case, however, the increase in threshold voltage due to the back gate bias effect cannot be avoided.

[0401]FIG. 35 shows another example of a plurality of blocks and sub control gate drivers arranged in one row.

[0402] This example is a modification of the circuit shown in FIG. 31 and is characterized in connection of NMOS transistors 36-0, 36-1, 36-2, and 36-3.

[0403] The blocks BLKi-j (j=0, 1, 2, 3) have the sub control gate lines CGLi-0, CGLi-1, CGLi-2, and CGLi-3, respectively. Each sub control gate line CGLi-j (j=0, 1, 2, 3) is connected to memory cells of an integer multiple of 1 byte (e.g., 16 bytes), which are arranged in the corresponding block BLKi-j.

[0404] The sub control gate line CGLi-j is connected to the sub decoder 29 via the NMOS transistor 36-j as a drive circuit in the sub control gate driver 28.

[0405] The NMOS transistor 36-j is ON/OFF-controlled by the potential of the main control gate line CGLi. In the selected row, the boost potential Vprog or power supply potential VCC is applied to the main control gate line CGLi, and all the NMOS transistors 36-0, 36-1, 36-2, and 36-3 in the selected row are turned on.

[0406] In the data program mode, the high program potential Vprog is applied from the sub decoder 29 to the sub control gate line CGLi-j of the selected block BLKi-j. The ground potential is applied from the sub decoder 29 to the sub control gate line CGLi-j of an unselected block BLKi-j.

[0407] In the data erase mode, the ground potential is applied from the sub decoder 29 to the sub control gate line CGLi-j of the selected block BLKi-j. The power supply potential VCC is applied from the sub decoder 29 to the sub control gate line CGLi-j of the unselected block BLKi-j.

[0408] In the data read mode, the read potential (ground potential or power supply potential VCC) is applied from the sub decoder 29 to the sub control gate line CGLi-j of the selected block BLKi-j. The ground potential is applied from the sub decoder 29 to the sub control gate line CGLi-j of the unselected block BLKi-j (Tables 3 and 4).

[0409] In the block BLKi-j in an unselected row, the ground potential is applied to the gate of the NMOS transistor 36-j to turn off the NMOS transistor 36-j.

[0410] In the data program mode, the ground potential or power supply potential VCC is applied to the select gate lines SSLi and GSLi of all the blocks BLKi-j in the selected row via the NMOS transistors 35-1 and 35-3. In the data erase mode, the power supply potential VCC is applied to the select gate lines SSLi and GSLi of all the blocks BLKi-j in the selected row via the NMOS transistors 35-1 and 35-3. In the data read mode, the power supply potential VCC is applied to the select gate lines SSLi and GSLi of all the blocks BLKi-j in the selected row via the NMOS transistors 35-1 and 35-3 (Tables 3 and 4).

[0411] In this arrangement as well, the read, erase, or program operation can be performed in units of blocks. Hence, the data change operation for byte data shown in FIG. 32 or 33 can be applied.

[0412] For this reason, unnecessary read, erase, and program operations for memory cells whose data are not to be changed can be omitted, and the substantial program/erase endurance characteristics, i.e., the number of data change operations can be improved.

[0413]FIG. 36 shows an improved example of the byte EEPROM shown in FIG. 28. FIG. 37 shows only two rows adjacent each other in the memory cell array 11 shown in FIG. 36.

[0414] In the example shown in FIG. 28, all the predecoders 12 a, row decoders 12 b, and main control gate/select gate drivers 12 c are arranged at one end of the memory cell array 11 in the row direction.

[0415] In this example, however, the predecoders 12 a, row decoders 12 b, and main control gate/select gate drivers 12 c are arranged at one end and the other end of the memory cell array 11 in the row direction.

[0416] For example, predecoders PD0, PD2, . . . , and row decoders RD0, RD2, . . . , which select even-numbered rows, are arranged at one end of the memory cell array 11 in the row direction. Predecoders PD1, PD3, . . . , and row decoders RD1, RD3, . . . , which select odd-numbered rows, are arranged at the other end of the memory cell array 11 in the row direction. Main control gate/select gate drivers 0, 2, . . . for applying predetermined potentials to even-numbered rows are arranged at one end of the memory cell array 11 in the row direction. Main control gate/select gate drivers 1, 3, . . . for applying predetermined potentials to odd-numbered rows are arranged at the other end of the memory cell array 11 in the row direction.

[0417] In the circuit design process, the layout of the predecoders 12 a, row decoders 12 b, and the main control gate/select gate drivers 12 c can be easily determined.

[0418] The main control gate/select gate driver 12 c tends to have a large circuit size because it must generate a high program potential to be applied to the main control gate line CGLi. For this reason, when all the predecoders 12 a, row decoders 12 b, and main control gate/select gate drivers 12 c are arranged at one end of the memory cell array 11 in the row direction, the layout of these circuits on the chip is very hard to determine.

[0419] As described above, when the predecoders 12 a, row decoders 12 b, and main control gate/select gate drivers 12 c are arranged at one end and the other end of the memory cell array 11 in the row direction, the space on the chip can be effectively utilized, and the circuit blocks can be compactly formed on the chip.

[0420] As shown in FIG. 37, a drive circuit for driving the control gate line CGLi in one block BLKi-j and drive circuits for driving the select gate lines SSLi and GSLi are arranged as the driver i at one end or the other end of the memory cell array 11.

[0421] With this arrangement, the time lag between a signal supplied to the memory cell in the selected block BLKi-j and signals supplied to the select transistors can be eliminated. Since an operation error in the program and read modes can be prevented, the reliability increases.

[0422] In this example, the two select gate lines SSLi and GSLi and one control gate line CGLi are preferably simultaneously driven as one set. In addition, since the area of the transistor (driver) with a high breakdown voltage is large, the pattern on the chip can be made uniform by arranging the select gate lines SSLi and GSLi and the control gate line CGLi as one set. with this arrangement, reduction in thickness of word lines due to the loading effect in a non-uniform pattern can be prevented.

[0423]FIGS. 38 and 39 show improved examples of the sense amplifier.

[0424]FIG. 38 shows an arrangement using a differential sense amplifier. In this case, 1-bit data may be stored in two memory cell units as complementary data. Data is read by detecting a small difference between signal amounts (potentials) output from the two memory cell units and amplifying this difference. This allows a high-speed read.

[0425] One-bit data is stored in a pair of memory cell units. For this reason, even when the program/erase endurance characteristics of one memory cell unit degrade due to the repeated data change operation, the reliability does not decrease as far as the other memory cell unit has satisfactory program/erase endurance characteristics.

[0426]FIG. 39 shows an example wherein a common sense amplifier is connected to a plurality of (e.g., two) bit lines. In this case, the data change operation for byte data in the block BLKi-j is divisionally performed twice. The first-time data change operation is performed for a memory cell unit connected to an even-numbered bit line, and the second-time data change operation is performed for a memory cell unit connected to an odd-numbered bit line.

[0427] When the sense amplifier of this example is used, and data is to be read to one bit line, the other bit line is set at a fixed potential (e.g., ground potential) (shield bit line read method). With this method, a problem such as a program error in an unselected cell in the read mode can be avoided. The EEPROM of this example can be applied to store multi-level data in one memory cell unit.

[0428]FIG. 40 shows an improved example of the byte EEPROM shown in FIG. 28.

[0429] In the example shown in FIG. 28, the memory cell array 11 is formed from the plurality of blocks BLKi-j (i=0, 1, . . . , n; j=0, 1, 2, 3) arranged in a matrix in the row and column directions. In this example, on the assumption of this, the number of main control gate drivers (including boosters) that occupy a large area on the chip is decreased to facilitate circuit block layout on the chip.

[0430] In this example, the number of blocks in the column direction is n (e.g., 1,024), and the number of blocks in the row direction is 4. One block has memory cells of 16 bytes, and one page has memory cells of 64 bytes.

[0431] In this example, a main control gate driver 37 is prepared in correspondence with two rows, i.e., two main control gate lines CGL (2 pages) adjacent to each other. That is, in this example, one main control gate driver 37 drives two main control gate lines CGL. Each main control gate driver includes a booster.

[0432] The sub control gate driver 28 is prepared in correspondence with each block BLKi-j.

[0433] A select gate driver 38 is prepared in correspondence with one row, i.e., one control gate line CGL (one page). The predecoder 12 a and row decoder 12 b are also prepared in correspondence with one row, i.e., one control gate line CGL.

[0434] The row address signal is input to the predecoder 12 a and sub decoder 29 via the address register 19. The predecoder 12 a and row decoder 12 b select four blocks BLKi-j in one row. The sub decoder 29 selects one of the four selected blocks BLKi-j.

[0435] The sub decoder 29 may have a function of selecting a plurality of blocks in one selected row or all blocks (in this example, four blocks) in one selected row.

[0436] In this example, data can be read, erased, or programmed in units of blocks, as in the example shown in FIG. 28. Hence, in the data change operation for byte data, data of one page need not be read to the sense amplifiers having the latch function, so the substantial program/erase endurance characteristics, i.e., the number of page data change operations can be improved.

[0437] In the present invention, when the block BLKi-j is selected, the main control gate driver 37 applies predetermined potentials corresponding to the operation mode to two main control gate lines CGLi and CGLi+1 of the row to which the selected block BLKi-j belongs and the row adjacent to this row. That is, since the two main control gate lines CGLi and CGLi+1 share one main control gate driver 37, the number of main control gate drivers 37 can be decreased, so the layout can be facilitated, and the load in circuit design can be reduced.

[0438] The select gate driver 38 applies predetermined potentials corresponding to the operation mode to the select gate lines SSL and GSL of the row to which the selected block BLKi-j belongs.

[0439] The sense amplifier 13 having the latch function latches read data or program data. Read data (output data) is externally output from the memory chip via the column selecting circuit 15 and data input/output buffer 18. Program data (input data) is latched by the sense amplifier 13 having the latch function via the data input/output buffer 18 and column selecting circuit 15.

[0440] The command signal is input to the command decoder 26 via the data input/output buffer 18 and command register 25. The output signal from the command decoder 26, command latch enable signal CLE, chip enable signal {overscore (CE)}, or write enable signal {overscore (WE)} is input to the control circuit 17.

[0441] The signal generating circuit (booster) 27 generates potentials to be applied to the control gate line CGL and select gate lines SSL and GSL and supplies the potentials to the main control gate driver 37 and select gate driver 38 under the control of the control circuit 17.

[0442]FIG. 41 shows another example of the predecoder PDi.

[0443] In this example, assume that the number of rows, i.e., the number of control gate lines CGL (the number of blocks) is 1,024 (2¹⁰). In this case, one row can be selected by 10 row address signal bits a1, a2, . . . , a10.

[0444] The row address signal bits a2, a3, and a4 are input to the NAND circuit 30-1. The row address signal bits a5, a6, and a7 are input to the NAND circuit 30-2. The row address signal bits a8, a9, and a10 are input to the NAND circuit 30-3. The output signal from the NAND circuit 30-1 is output as the signal D via the inverter 31-1. The output signal from the NAND circuit 30-2 is output as the signal E via the inverter 31-2. The output signal from the NAND circuit 30-3 is output as the signal F via the inverter 31-3.

[0445] The predecoders PDi receive the different row address signal bits a1, a2, . . . , a10, respectively. Only the output signals D, E, and F from the predecoder PDi belonging to one selected row are at “1”.

[0446]FIG. 42 shows examples of the row decoder RDi, main control gate driver 37, and select gate driver 38.

[0447] The row decoder RDi is formed from the NAND circuit 32 and inverter 33. The output signals D, E, and F from the predecoder PDi are input to the NAND circuit.

[0448] The select gate driver 38 has the NMOS transistors 35-1 and 35-3 as drive circuits. In the selected row, the output signal from the row decoder RDi is at the power supply potential VCC to turn on the NMOS transistors 35-1 and 35-3. Hence, the signals SS and GS generated by the signal generating circuit 27 are supplied to the select gate lines SSLi and GSLi, respectively.

[0449] The main control gate driver 37 has a decoding circuit 39, the booster 34, and the NMOS transistor 35-2 as a drive circuit.

[0450] In the main control gate driver 37 common to the selected row and the row adjacent to the selected row, the output signal from the decoding circuit 39 is at the power supply potential VCC. The booster is set in the operative or inoperative state in correspondence with the operation mode, and the power supply potential VCC or boosted high potential is applied to the gate of the NMOS transistor 35-2.

[0451] For example, when data is to be programmed, in the main control gate driver 37 common to the selected row and the row adjacent to the selected row, the output potential VB of the booster 34 is at the boosted potential Vprog to turn on the NMOS transistor 35-2. The potential CG (=Vprog) generated by the signal generating circuit 27 is applied to the main control gate lines CGLi and CGLi+1 of the selected row and the row adjacent to the selected row via the NMOS transistor 35-2.

[0452] When data is to be erased, in the main control gate driver 37 common to the selected row and the row adjacent to the selected row, the output potential VB of the booster 34 is at the power supply potential VCC to turn on the NMOS transistor 35-2. The potential CG(=0V) generated by the signal generating circuit 27 is applied to the main control gate lines CGLi and CGLi+1 of the selected row and the row adjacent to the selected row via the NMOS transistor 35-2.

[0453] When data is to be read, in the main control gate driver 37 common to the selected row and the row adjacent to the selected row, the output potential VB of the booster 34 is at the power supply potential VCC to turn on the NMOS transistor 35-2. The potential CG(=0V or VCC) generated by the signal generating circuit 27 is applied to the main control gate lines CGLi and CGLi+1 of the selected row and the row adjacent to the selected row via the NMOS transistor 35-2.

[0454] In the main control gate driver 37 common to two unselected rows adjacent to each other, the output potential VB of the booster 34 is at the ground potential, and the ground potential is applied to the gate of the NMOS transistor 35-2. The NMOS transistor 35-2 is turned off.

[0455]FIG. 43 shows still an example of a plurality of blocks and sub control gate drivers arranged in two rows adjacent to each other.

[0456] This example corresponds to the circuit block shown in FIG. 40, and four blocks are arranged in one row.

[0457] Blocks BLKi-j and BLK(i+1)-j have sub control gate lines CGLi-j and CGL(i+1)-j (j=0, 1, 2, 3), respectively. The sub control gate line CGLi-j is connected to memory cells of a positive integer multiple of 1 byte (e.g., 16 bytes) arranged in the block BLKi-j. The sub control gate line CGL(i+1)-j is connected to memory cells of a positive integer multiple of 1 byte (e.g., 16 bytes) arranged in the block BLK(i+1)-j.

[0458] The sub control gate line CGLi-j is connected to the main control gate line CGLi via the NMOS transistor 36-j serving as a drive circuit in the sub control gate driver 28. The sub control gate line CGL(i+1)-j is connected to the main control gate line CGLi+1 via an NMOS transistor 40-j serving as a drive circuit in the sub control gate driver 28.

[0459] The NMOS transistors 36-j and 40-j are ON/OFF-controlled by the sub decoder 29. The sub decoder 29 has a function of selecting one NMOS transistor 36-j (one block). To select the block BLKi-1, the NMOS transistor 36-1 is turned on. At this time, the main control gate line CGLi is electrically connected to the sub control gate line CGLi−1.

[0460] The sub decoder 29 may have a function of selecting a plurality of or all NMOS transistors.

[0461] In the EEPROM of this example as well, the memory cell array is formed from a plurality of blocks arranged in a matrix in the row and column direction, and the data read, erase, or program operation can be performed in units of blocks. Hence, in this example as well, the data change operation for byte data shown in FIG. 32 or 33 can be applied. That is, the data change operation for byte data can be performed to read only data of the selected block (data of a positive integer multiple of 1 byte) in the selected row without reading data of one page in the selected row.

[0462] For this reason, unnecessary read, erase, and program operations for memory cells whose data are not to be changed can be omitted, and the substantial program/erase endurance characteristics, i.e., the number of page data change operations can be improved.

[0463] In the present invention, one main control gate driver (including a booster) is commonly used for a plurality of (e.g., two) rows adjacent to each other. Hence, the column-direction width of the main control gate driver having a large size can be made larger than the width of one row, and the main control gate driver can be easily laid out in circuit design.

[0464] In the program mode, the high potential Vprog is applied to the main control gate line of the selected row, and the power supply potential VCC is applied to the select gate lines. For this reason, only the main control gate driver which must output the high potential Vprog is commonly used for a plurality of rows. Select gate drivers are prepared in units of rows.

[0465] For example, in the program mode, the high potential Vprog is applied to two main control gate lines. This high potential Vprog is applied to only the sub control gate line in the block selected by the sub decoder and therefore does not pose any problem in operation.

[0466]FIG. 44 shows a layout example of sub decoders.

[0467] In the present invention, memory cells of one page of the memory cell array 11 are divided into a plurality of blocks, and the plurality of blocks BLKi-j are arranged in the row direction. The sub control gate drivers 28 are arranged between the blocks BLKi-j in the row direction. The sense amplifiers 13 are arranged in correspondence with the blocks BLKi-j in the row direction.

[0468] Spaces are formed between the sense amplifiers 13 in correspondence with the sub control gate drivers 28. In this example, the sub decoders 29 are arranged in these spaces.

[0469] As in this example, when the sub decoders 29 are arranged at a plurality of positions in correspondence with the sub control gate drivers 28, the space on the chip can be effectively utilized, as compared to the case wherein the sub decoders 29 are arranged at one position. For this reason, the chip size can be reduced.

[0470] FIGS. 45 to 47 show EEPROMS to which the present invention can be applied.

[0471] In the example shown in FIG. 45, sense amplifiers 13A and 13B having the latch function, column selecting circuits 15A and 15B, and data input/output buffers 18A and 18B are arranged at two ends of the memory cell array in the column direction. In this example, the memory cell array has the 3-tr cell section (FIG. 26) 11-0 and NAND cell section 11-1. The memory cell array may have only the 3-tr cell section.

[0472] According to this example, since the circuit such as sense amplifiers for the read or program operation are arranged at the two ends of the memory cell array in the column direction, these circuits can be easily laid out, and the load in circuit design can be reduced.

[0473] In the example shown in FIG. 46, the memory cell array is formed from the 3-tr cell section 11-0 and NAND cell section 11-1. The 3-tr cell section 11-0 is arranged on the side of the sense amplifiers 13. The memory cells of the 3-tr cell section 11-0 are used as a cache memory.

[0474] According to this example, since data of the NAND cell section 11-1 can be temporarily stored in the 3-tr cell section (cache memory) in units of blocks, data can be read at a high speed.

[0475] In the example shown in FIG. 47, a plurality of memory circuits 42 a and 42 b are formed in one chip 41. The memory circuits 42 a and 42 b independently perform read, program, and erase operations. For example, while the memory circuit 42 a is reading data, the memory circuit 42 b can program data. The EEPROM of the present invention is used for at least one of the memory circuits 42 a and 42 b.

[0476] According to this example, since two different operations can be simultaneously performed, the data processing efficiency increases.

[0477] In the above description, the cell unit having one memory cell with a stacked gate structure and two select transistors respectively connected to the two ends of the memory cell is the main component.

[0478] According to this cell unit, various characteristic features including the data change operation for byte data (or page data) can be obtained, as described above.

[0479] However, when the cell unit is formed from three transistors (only one memory cell), the cell size per memory cell becomes larger than that in the conventional NAND flash EEPROM. This is not always advantageous for an increase in memory capacity by increasing the degree of integration of memory cells.

[0480] A new cell unit structure and data program method capable of reducing the cell size per memory cell while maintaining the function of changing data in units of bytes (or pages) will be described below.

[0481] The conventional NAND flash EEPROM will be examined.

[0482] In the conventional NAND flash EEPROM, for example, 16 series-connected memory cells are arranged in one memory cell unit. This structure is optimum to reduce the cell size per memory cell.

[0483] Although this structure can reduce the cell size, the data change operation for byte data (or page data) is impossible.

[0484] The reason why the data change operation for byte data (or page data) is impossible in the conventional NAND flash EEPROM will be described.

[0485] To understand the reason why data cannot be changed in units of bytes (or pages) in the NAND flash EEPROM, the data change operation of the NAND flash EEPROM must be understood first.

[0486] The data change operation of the NAND flash EEPROM is performed in units of blocks.

[0487] First, data are erased from all memory cells of the NAND cell unit in the selected block at once (operation of removing electrons from the floating gate to decrease the threshold value). After this, for example, data are sequentially programmed in units of pages starting from a source-side memory cell toward a drain-side memory cell of the NAND cell unit in the selected block.

[0488] Details of the data program operation will be described with reference to FIGS. 48 and 49.

[0489] In this example, data are programmed in memory cells connected to a control gate line CGL1.

[0490] First, a potential of 0V is applied to the select gate line GSL on the source side (source line side) to cut off the select transistor on the source side. In addition, the power supply potential VCC is applied to the select gate line SSL on the drain side (bit line side) to turn on the select transistor on the drain side.

[0491] The potential of the bit line connected to a memory cell M1 for “0” programming (operation of injecting electrons into the floating gate to increase the threshold value) is set at 0V. The potential of the bit line connected to a memory cell M2 for “1” programming (operation of maintaining the erase state) is set at the power supply potential VCC.

[0492] At this time, the potentials of the channels of all memory cells in the NAND cell unit including the memory cell M1 for “0” programming are at 0V. The potentials of the channels of all memory cells in the NAND cell unit including the memory cell M2 for “1” programming are precharged to VCC−Vth (Vth is the threshold voltage of the select transistor). After this, the drain-side (bit-line-side) select transistor in the NAND cell unit including the memory cell for “1” programming is cut off.

[0493] The potential of the control gate line (selected) CGL1 increases from 0V to the power supply potential VCC (e.g., 3.3V) and then from the power supply potential VCC to the program potential Vprog (e.g., 18V). The potentials of control gate lines (unselected) CGL0, CGL2, . . . , CGL15 increase from 0V to the power supply potential VCC and then from the power supply potential VCC to a potential Vpass (VCC<Vpass (e.g., 9V)<Vprog).

[0494] In the memory cell M1 for “0” programming, the channel potential is 0V. A high voltage is applied to the tunnel insulating film between the floating gate and the channel to move electrons from the channel to the floating gate. On the other hand, in the memory cell M2 for “1” programming, the channel is floating. Capacitive coupling increases the channel potential to Vch. Hence, in the memory cell M1 for “1” programming, no high voltage is applied to the tunnel insulating film between the floating gate and the channel, and the erase state is maintained.

[0495] The potential Vpass applied to the unselected control gate lines CGL0, CGL2, . . . , CGL15 in the selected block will be examined.

[0496] In the data program mode, when election injection into the floating gate of the memory cell M2 is suppressed to maintain the erase state of the memory cell M2, “1” programming for the memory cell M2 is achieved. The memory cell M2 can maintain the erase state by, in the data program mode, sufficiently increasing the channel potential of each memory cell in the NAND cell unit including the memory cell M2 by capacitive coupling to relax the voltage to be applied to the tunnel insulating film between the floating gate and the channel of the memory cell M2.

[0497] The channel potential of each memory cell in the NAND cell unit including the memory cell M2 depends on the potential Vpass applied to the unselected control gate lines CGL0, CGL2, . . . , CGL15. The higher the potential Vpass is, the higher the channel potential of each memory cell in the NAND cell unit including the precharge PMOS transistor M2 becomes. This prevents any program error for the memory cell M2.

[0498] However, when the potential Vpass is increased, a program error readily occurs for an unselected memory cell M3 in the NAND cell unit including the memory cell M1 for “0” programming.

[0499] More specifically, the channel potential of each memory cell in the NAND cell unit including the memory cell M1 is maintained at 0V. For this reason, when the potential Vpass approaches the program potential Vprog, “0” programming is performed even for the unselected memory cell M3. To prevent any program error for an unselected memory cell in the NAND cell unit including the memory cell M1, the potential Vpass must be made as low as possible.

[0500] As described above, the potential Vpass to be applied to the unselected control gate lines CGL0, CGL2, . . . , CGL15 must not be too high or too low. The potential Vpass is set to have an optimum value for preventing “0” programming in the selected memory cell M2 for “1” programming or the unselected memory cell M3. For example, VCC<Vpass (e.g., 9V)<Vprog.

[0501] The data change operation of the NAND flash EEPROM has been described above in detail. The reason why the data change operation of the NAND flash EEPROM is not performed in units of bytes (or pages) will be described below.

[0502] Assume that the data change operation is performed in units of bytes (or pages) in the NAND flash EEPROM.

[0503] In this case, one control gate line, e.g., the control gate line CGL1 may be repeatedly selected many times, and only memory cells connected to the control gate line CGL1 may be repeatedly subjected to data change many times. Under this circumstance, the operation of erasing the data of the memory cells connected to the control gate line CGL1 and the operation of programming data in the memory cells connected to the control gate line CGL1 are repeatedly performed.

[0504] At this time, in the data program mode, the potential Vpass is repeatedly applied to the control gates of unselected memory cells in the selected block many times.

[0505] When the data change operation for byte data is repeatedly performed in the NAND flash EEPROM many times, the threshold value of the unselected memory cell in the selected block may be gradually increased by the potential Vpass (electrons are gradually injected into the floating gate) to generate a program error.

[0506] To avoid this, the potential Vpass is decreased, or the data change operation is performed in units of blocks.

[0507] However, as described above, the potential Vpass is set at the optimum value for preventing “0” programming (program error) in the selected memory cell for “1”programming or an unselected memory cell in the same cell unit as that of the memory cell for “0” programming in the data program operation of one cycle. For this reason, the potential Vpass cannot be made lower.

[0508] As a consequence, in the NAND flash EEPROM, the data change operation for byte data (or page data) is impossible, and the data change operation in units of blocks is performed.

[0509] A new cell unit structure and data program method which can reduce the cell size per memory cell, as in the NAND flash EEPROM, and also achieve the data change operation for byte data (or page data) by decreasing the potential Vpass will be described below.

[0510]FIG. 50 shows a memory cell unit of the byte EEPROM of the present invention. FIG. 51 shows the equivalent circuit of the memory cell shown in FIG. 50.

[0511] Each of memory cells MC1 and MC2 has a control gate and a floating gate, i.e., the same structure as that of a memory cell of a flash EEPROM. The memory cells MC1 and MC2 are connected in series and have, at the two ends of the structure, the select transistors ST1 and ST2, respectively. The select transistor ST1 is connected to a bit line via the bit line contact section BC. The select transistor ST2 is connected to the source line SL.

[0512] The memory cells MC1 and MC2 and select transistors ST1 and ST2 form one memory cell unit. Arraying a plurality of memory cell units forms a memory cell array.

[0513] The memory cell unit of the present invention can be regarded as the NAND cell unit of a NAND flash EEPROM, which has two memory cells (two NAND cells) in one NAND unit.

[0514] However, in the present invention, the number of memory cells in one memory cell unit is not limited to two. As long as conditions to be described later are satisfied, a plurality of (e.g., 3, 4, or 5) memory cells can be set. The number of memory cells in the memory cell unit may be 16, i.e., equal to that in the conventional NAND flash EEPROM, as needed.

[0515] The structural advantages of the byte EEPROM of the present invention will be described.

[0516] The memory cell section of the byte EEPROM of the present invention has the same structure as that in the NAND flash EEPROM. However, usually, the number of memory cells in the cell unit of the byte EEPROM of the present invention is smaller that (e.g., 16) in the NAND flash EEPROM.

[0517] Since the process of the NAND flash EEPROM can be directly employed, the byte EEPROM of the present invention can increase the memory capacity and reduce the production cost while the erase operation can be performed in units of bytes (to be described later).

[0518] A case wherein two memory cells are formed in the cell unit in the present invention will be described examined.

[0519] In the present invention, when the design rule is 0.4 μm, the short-side length a of two memory cells is 1.2 μm and the long-side length b is 3.96 μm. The area ([short-side length a×long-side length] b/2) per memory cell is 2.376 μm². In the NAND flash EEPROM with cell units each having 16 memory cells, when the design rule is 0.4 μm, the area per memory cell is 1.095 μm².

[0520] That is, when the memory cell unit (2-NAND cell) of the present invention is employed, the area per memory cell is as small as about twice the area per memory cell of the 16-NAND cell.

[0521] In the conventional byte EEPROM as shown in FIGS. 65 and 66, when the design rule is 0.4 μm, the area per memory cell is 36 μm². In a cell unit having one memory cell sandwiched by two select transistors (3-tr cell or 1-NAND cell), when the design rule is 0.4 μm, the area per memory cell is 3.84 μm².

[0522] That is, in the memory cell unit of the present invention (2-NAND cell), the area per memory cell can be made smaller than that in the conventional byte EEPROM or 1-NAND cell.

[0523] Table 5 shows comparison of the areas per memory cell in accordance with the memory cell unit structures. TABLE 5 1-NAND CELL 16-NAND CELL 2-NAND CELL (3-tr cell) NOR Type Design Rule: 0.4 μm 1.095 μm² 2.376 μm² 3.84 μm² 1.82 μm² (1) 1 (2.17) (3.51) (1.66) Design Rule: 0.25 μm 0.293 μm² 0.712 μm² 1.189 μm² 0.54 μm² (1) (2.43) (4.06) (1.84)

[0524] As is apparent from Table 5, the area per memory cell of the memory cell unit (2-NAND cell) of the present invention is larger than that in the NAND flash EEPROM (16-NAND cell) but is as small as about 60% that of the 1-NAND cell (3-tr cell).

[0525] According to the cell unit structure of the present invention, reduction of the memory cell area can contribute to an increase in memory capacity of the byte EEPROM, reduction of the chip area, and reduction of the manufacturing cost.

[0526] In addition, the byte EEPROM of the present invention can be manufactured by the same process as that of the NAND flash EEPROM and can easily be applied to a nonvolatile memory embedded LSI.

[0527] The memory cell of the byte EEPROM of the present invention has the same structure as that in the NAND flash EEPROM. Hence, for one memory cell, the data change method of the flash EEPROM, i.e., data change method using the F-N tunneling phenomenon can be directly applied. For this reason, not only the manufacturing cost but also the developing cost can be reduced.

[0528] In the cell unit structure of the present invention, a plurality of (e.g., 2, 3, . . . ) memory cells are connected between two select transistors. For this reason, as in the NAND flash EEPROM, when data change operation for byte data (or page data) is repeatedly performed, a program error may occur for an unselected memory cell in the selected block, where the potential Vpass is applied to the control gate.

[0529] This problem is solved by the following means.

[0530] In the NAND flash EEPROM, the potential Vpass is set at the optimum value under the condition that in the program operation of one cycle, “0” programming does not occur for a memory cell for executing “1”, programming (maintaining the erase state), or an unselected memory cell in the same cell unit as that of the memory cell for “0” programming.

[0531] This optimum value is determined independently of the power supply potential VCC or a potential Vread to be applied to the control gate of an unselected memory cell in the read mode. Usually, VCC (e.g., 3.3V)<Vpass (e.g., 9V)<Vprog (e.g., 18V).

[0532] In the present invention, the potential Vpass is set at the power supply potential VCC (e.g., 3.3V) or the potential Vread (e.g., 4.5V) to be applied to the control gate of an unselected memory cell in the read mode.

[0533] The potentials VCC and Vread are lower than the potential Vpass (e.g., 9V) used in the NAND flash EEPROM.

[0534] In the present invention, by setting the potential Vpass at the power supply potential VCC or the potential Vread to be applied to the control gate of an unselected memory cell in the read mode, i.e., by making the potential Vpass lower than that used in the NAND flash EEPROM, the problem of the program error for the unselected memory cell in the selected block in repeating the data change operation for byte data (or page data) is prevented.

[0535] In the present invention, the potential Vpass is set at the potential VCC or Vread, and therefore, the circuit for generating the potential Vpass need not be prepared. For this reason, the structure of the control gate driver is simplified. This allows size reduction of the control gate driver, easy layout, and a decrease in the design or developing period.

[0536] In the present invention, the potential Vpass is set at the power supply potential VCC or the potential Vread to be applied to the control gate of an unselected memory cell in the read mode. For this reason, in the data program operation of one cycle, an increase in the channel potential of the memory cell for executing “1” programming (maintaining the erase state) may be insufficient.

[0537] In the present invention, the number of memory cell in the cell unit, the initial potential of the channel of the memory cell for “1” programming, and the coupling ratio between the control gate and channel of the memory cell are set such that the channel potential of the memory cell for “1”, programming sufficiently increases.

[0538] For example, assume that the initial potential of the channel of the memory cell for “1” programming and the coupling ratio between the control gate and channel of the memory cell are equal to those in the NAND flash EEPROM. In this case, as shown in FIGS. 50 and 51, when two memory cells are connected in the cell unit, the channel potential of the memory cell for “1” programming can be increased to almost the same level as in the NAND flash EEPROM (this will be described later in detail in association with the data program operation).

[0539] As the first advantage of the present invention, since the cell unit structure is the same as in the NAND flash EEPROM, the cell size can be reduced, the memory capacity can be increased, and cost can be reduced.

[0540] As the second advantage, the potential Vpass to be applied to the unselected control gate line in the selected block in the data program mode is set at the power supply potential VCC or the potential Vread to be applied to the unselected control gate line in the read mode. For this reason, the problem of the program error for an unselected memory cell in the selected block can be prevented, and the data change operation for byte data (or page data) becomes possible.

[0541] As the third advantage, the number of memory cells in the cell unit, the initial potential of the channel of the memory cell for “1” programming, and the coupling ratio between the control gate and channel of the memory cell are set to appropriate values such that the channel potential of the memory cell for “1” programming sufficiently increases even when the potential Vpass is set at the potential VCC or Vread. The program error for the memory cell for “1” programming can also be prevented.

[0542] The erase, program, and read operations of the byte EEPROM of the present invention will be sequentially described below.

[0543] Erase Operation

[0544] As shown in FIG. 52, the ground potential VSS is applied to a selected control gate line (word line) CGL11 in the selected block. An unselected control gate line (word line) CGL12 in the selected block is set in the floating state. Select gate lines SSL1 and GSL1 in the selected block, and control gate lines (word lines) CGL21 and CGL22 and select gate lines SSL2 and GSL2 in the unselected block are also set in the floating state.

[0545] After this, an erase pulse of, e.g., 21V and 3 ms is applied to the bulk (cell P-well). At this time, in the memory cell connected to the selected control gate line CGL11 in the selected block, an erase voltage (21V) is applied between the bulk and control gate line. Electrons in the floating gate move to the bulk due to the F-N (Fowler-Nordheim) tunneling phenomenon.

[0546] As a result, the threshold voltage of the memory cell connected to the selected control gate line CGL11 in the selected block is about −3V. In the selected memory cell, data is erased by the erase pulse of one cycle such that the threshold voltage becomes about −3V.

[0547] On the other hand, the unselected control gate line CGL12 in the selected block and the control gate lines CGL21 and CGL22 in the unselected block are set in the floating state.

[0548] When the erase pulse of, e.g., 21V and 3 ms is applied to the bulk (cell P-well), the potentials of the control gate lines CGL12, CGL21, and CGL22 also increase due to capacitive coupling between the bulk and the control gate lines in the floating state.

[0549] The coupling ratio between the control gate lines CGL12, CGL21, and CGL22 and the bulk will be examined. The control gate lines CGL12, CGL21, and CGL22 are connected to drive circuits (the sources of MOS transistors), metal interconnections for connecting the drive circuits and control gate lines (polysilicon layers), and silicide layers forming the control gate lines.

[0550] The coupling ratio depends on the parasitic capacitances of the control gate lines CGL12, CGL21, and CGL22 in the floating state. This capacitance contains the source junction capacitance of the MOS transistor as a drive circuit, the overlap capacitance between the source and gate, the capacitances of the polysilicon layer and metal interconnection in the field region, and the capacitances of the control gate line and bulk (cell P-well).

[0551] However, most of the parasitic capacitances of the control gate lines CGL12, CGL21, and CGL22 are the capacitances of the control gate lines and bulk (cell P-well).

[0552] That is, the coupling ratio between the control gate lines CGL12, CGL21, and CGL22 and the bulk has a large value of, e.g., 0.9. When the potential of the bulk rises, the potentials of the control gate lines CGL12, CGL21, and CGL22 also increase.

[0553] For this reason, in memory cells connected to the unselected control gate line CGL12 in the selected block and memory cells connected to the control gate lines CGL21 and CGL22 in the unselected block, the F-N tunneling phenomenon can be prevented.

[0554] With the above process, the erase operation is ended.

[0555] After the erase operation, the erase verify operation is performed to verify whether the threshold voltages of all memory cells connected to the selected control gate line CGL11 in the selected block fall within −1V.

[0556] Program Operation

[0557] A case wherein the program operation is executed for memory cells connected to the control gate line CGL1, as shown in FIG. 53, will be described. All the memory cells to be programmed are in the erase state.

[0558] The source-side select gate line GSL in the selected block is set at the ground potential VSS. The select gate line SSL on the drain side is set at the power supply potential VCC. As a result, select transistors ST21 and ST22 on the source side are cut off, and select transistors ST11 and ST12 on the drain side are turned on.

[0559] A bit line BL to which a memory cell MC11 for “0” programming is connected is set at the ground potential VSS. The bit line BL to which a memory cell (program inhibit cell) MC12 for “1” programming is connected is set at the power supply potential VCC. The control gate lines CGL1 and CGL2 are set at the ground potential VSS. At this time, the channel potentials of the memory cells MC11 and MC21 are at the ground potential VSS, and the channels of the memory cells MC12 and MC22 are precharged to VCC−Vth (Vth is the threshold voltage of the select transistor ST12).

[0560] After this, the control gate lines CGL1 and CGL2 are set at the power supply potential VCC (e.g., 3.3V) or the potential Vread (e.g., 4.5V) to be applied to unselected control gate lines in the read mode. The potential of the selected control gate line CGL1 increases from VCC or Vread to the program potential Vprog (e.g., 18V).

[0561] At this time, in the selected memory cell MC11, a large potential difference is generated between the channel (=VSS) and the control gate line CGL1(=Vprog), and electrons are injected from the channel to the floating gate due to the F-N tunneling phenomenon. With this operation, “0” programming in the selected memory cell MC11 is ended.

[0562] Before the high potential is applied to the control gate line, i.e., before the channel potential is boosted, the initial channel potential of the selected memory cell MC12 is at VCC−Vth in the floating state. For this reason, when the selected control gate line CGL1 is set at the program potential Vprog and the unselected control gate line CGL2 is set at the power supply potential VCC or potential Vread, the channel potential of the selected memory cell MC12 also automatically increases due to capacitive coupling.

[0563] More specifically, in the selected memory cell MC12, the potential difference between the channel (=Vch) and the control gate line CGL1(=Vprog) becomes small, and electron injection into the floating gate due to the F-N tunneling phenomenon is suppressed. With this operation, “1” programming in the selected memory cell MC12 is ended.

[0564] To execute “1” programming in the selected memory cell (program inhibit cell) MC12, the channel potential (program inhibit potential) Vch of the selected memory cell MC12 must be sufficiently increased to prevent any program error (“0” programming).

[0565] The channel potential Vch of the memory cell MC12 after boosting is determined mainly depending on the initial channel potential of the memory cell MC12 before boosting, the coupling ratios between the control gates and channels of the memory cells MC12 and MC22, and the number of (in this example, two) memory cells in the cell unit.

[0566] For example, when the number of memory cells in the cell unit is fixed, the channel potential Vch of the memory cell MC12 can be sufficiently increased by increasing the initial channel potential of the memory cell MC12 and the coupling ratios between the control gates and channels of the memory cells MC12 and MC22.

[0567] A coupling ratio B between the control gate and channel of a memory cell is calculated by

B=Cox/(Cox+Cj)

[0568] where Cox is the sum of gate capacitances of the control gate and channel of the memory cell, and Cj is the sum of junction capacitances of the source and drain regions of the memory cell.

[0569] The channel capacitance of the memory cell can be approximately represented by the sum of the capacitances Cox and Cj. Although the channel capacitance of the memory cell includes, in addition to the capacitances Cox and Cj, the overlap capacitance between the control gate and source region, the capacitance between the bit line and source region, and the capacitance between the bit line and drain region, these capacitances are much smaller than the capacitance Cox or Cj and can be neglected.

[0570] For the byte EEPROM of the present invention and the conventional NAND flash EEPROM, the value of the channel potential (program inhibit potential) of a memory cell for “1” programming will be examined next in detail.

[0571] Assume that the byte EEPROM of the present invention has, e.g., the structure with two memory cells in one cell unit, as shown in FIGS. 50 and 51.

[0572] In this case, the channel potential Vch is given by $\begin{matrix} {{Vch} = {{Vini} + {\left( {{Vprog} - {VCC}} \right) \times B} + {\left( {{Vpass} - {VCC}} \right) \times B}}} \\ {B = {{Cox}/\left( {{2 \times {Cox}} + {3 \times C\quad j}} \right)}} \end{matrix}$

[0573] (when the number of memory cells is 2, the number of diffusion layers (sources/drains) is 3)

[0574] When Cox=Cj=1, the coupling ratio B is 0.2. In the present invention, Vpass=VCC. When the power supply potential VCC is 3V, an initial potential Vini of the channel is 2V, and the program potential Vprog is 16V, the channel potential Vch is

Vch=2+(16−3)×0.2=4.6  [V]

[0575] On the other hand, the channel potential Vch of the NAND flash EEPROM is given by $\begin{matrix} {{Vch} = {{Vini} + {\left( {15/16} \right) \times \left( {{Vpass} - {VCC}} \right) \times B} + {\left( {1/16} \right) \times \left( {{Vprog} - {VCC}} \right) \times B}}} \\ {B = {16 \times {{Cox}/\left( {{16 \times {Cox}} + {17 \times C\quad j}} \right)}}} \end{matrix}$

[0576] (when the number of memory cells is 16, the number of diffusion layers (sources/drains) is 17)

[0577] The cell unit of the NAND flash EEPROM has 16 memory cells connected in series. The program potential Vprog is applied to one memory cell, and the potential Vpass is applied to the 15 remaining memory cells.

[0578] When Cox=Cj=1, the coupling ratio B is 0.48. When the power supply potential VCC is 3V, an initial potential Vini of the channel is 2V, the program potential Vprog is 16V, and the potential Vpass is 8V, the channel potential Vch is

[0579] $\begin{matrix} {{Vch} = {2 + {\left( {15/16} \right) \times \left( {8 - 3} \right) \times 0.48} + {\left( {1/16} \right) \times \left( {16 - 3} \right) \times 0.48}}} \\ {= {4.64\quad\lbrack V\rbrack}} \end{matrix}$

[0580] As described above, in the byte EEPROM of the present invention, even when the potential Vpass equals the power supply potential VCC (or the potential Vread), the same program inhibit potential (channel potential for the “1” programming cell) as in the NAND flash EEPROM can be obtained by setting the number of memory cells in the cell unit to 2.

[0581] In the present invention, when the potential Vpass is set at the power supply potential VCC (or the potential Vread), the voltage between the control gate and channel of the unselected memory cell connected to the unselected control gate line can be relaxed. For this reason, the data change operation for byte data (or page data) can be repeatedly performed without any program error in the unselected memory cell.

[0582] In the present invention, even when the potential Vpass is set at the power supply potential VCC (or the potential Vread), the same program inhibit potential (channel potential for the “1” programming cell) as in the NAND flash EEPROM can be obtained. For this reason, any program error in the program inhibit cell (“1” programming cell) connected to the selected control gate line can also be prevented.

[0583] Read Operation

[0584] As shown in FIG. 54, after the bit line BL is charged to the precharge potential, a potential of 0V is applied to the selected control gate line CGL11 in the selected block, and the power supply potential VCC (e.g., 3.3V) or the read potential Vread (e.g., 4.5V) is applied to the selected control gate line CGL12 and the select gate lines SSL1 and GSL1 in the selected block.

[0585] A potential of 0V is applied to the control gate lines CGL21 and CGL 22 and the select gate lines SSL2 and GSL2 in the unselected block.

[0586] At this time, the select transistors in the selected block are turned on, and the select transistors in the unselected block are turned off. Unselected memory cells in the selected block are ON independently of the data value (the threshold voltage distribution of the memory cell is shown in FIG. 6).

[0587] The selected memory cell in the selected block is ON or OFF in accordance with the data value.

[0588] As shown in FIG. 55, when “1” data is programmed in the selected memory cell, i.e., the selected memory cell M is in the erase state, the threshold voltage of the selected memory cell is in the negative depletion mode. For this reason, a cell current flows to the selected memory cell to decrease the potential of the bit line BL.

[0589] Conversely, when “0” data is programmed in the selected memory cell, the threshold voltage of the selected memory cell is in the positive enhancement mode. For this reason, no cell current flows to the selected memory cell, and the bit line BL is maintained at the precharge potential.

[0590] In this way, data “0” or “1” is determined on the basis of whether a cell current flows from the bit line to the source line. A change in the potential of the bit line is amplified (detected) by the sense amplifier.

[0591] Data “0” and “1” are discriminated by, e.g., determining whether negative charges are stored in the floating gate of the memory cell.

[0592] More specifically, when negative charges are stored in the floating gate, the threshold voltage of the memory cell is high, and the memory cell is of the enhancement type. When no negative charges are stored in the floating gate, the threshold voltage of the memory cell is lower than 0V, and the memory cell is of the depletion type.

[0593] Table 6 shows the potentials of the select gate lines SSL and GSL, control gate line (word line) CGL, bit line BLi, cell source line SL, and cell P-well in the above-described erase, program, and read operations. TABLE 6 Erase Program Read Selected Select Gate Line Vera × B VCC VCC or Block SSL on Bit Line Vread Side Control Gate Line Vera × B VCC or Vread VCC or CGL (Unselected) (Vpass in Vread NAND type flash EEPROM) Control Gate Line OV Vprog OV CGL (Selected) Select Gate Line Vera × B OV VCC or GSL on Source Vread Line Side Un- Select Gate Line Vera × B OV OV selected SSL on Bit Line Block Side Control Gate Line Vera × B OV OV GSL on Source Line Side Bit Line “1” Data Vera-Vb VCC VBL → OV “0” Data Vera-Vb OV VSL Cell Source Line Vera-Vb VCC OV Cell P-well Vera OV OV

[0594] In the erase operation, the selected control gate line CGL in the selected block is set at 0V. The unselected control gate line CGL in the selected block, the control gate lines CGL in the unselected block, and all the select gate lines SSL and GSL are set in the floating state.

[0595] In this state, when the erase potential Vera of, e.g., 21V is applied to the cell P-well, the potentials of all the select gate lines SSL and GSL and unselected control gate line CGL, which are in the floating state, increase to Vera×β each (β is the coupling ratio) due to the capacitive coupling with the cell P-well.

[0596] When β=0.8, the potentials of all the select gate lines SSL and GSL and unselected control gate line CGL, which are in the floating state, increase to 16.8V.

[0597] In the erase operation, a p-n junction formed from the N⁺-type diffusion layer and cell P-well, which are connected to the bit line BLi and cell source line SL, is forward-biased. For this reason, the bit line BLi and cell source line SL are charged to Vera−Vb. Vb is the built-in potential of the p-n junction.

[0598] In the program operation, the bit line BLi connected to the selected memory cell in which “1” data is to be programmed, i.e., the bit line BLi connected to the selected memory cell maintaining the erase state is set at the power supply potential VCC (e.g., 3.3V). The bit line BLi connected to a selected memory cell in which “0” data is to be programmed is set at 0V.

[0599] The select gate line SSL in the selected block on the bit line side is set at the power supply potential VCC. The select gate line GSL on the cell source line side is set at 0V. The unselected control gate line CGL is set at the power supply potential VCC or the potential Vread (e.g., 4.5V). The selected control gate line CGL is set at the program voltage Vprog (e.g., 18V).

[0600] The select gate lines SSL and GSL, control gate line CGL, and cell P-well in the unselected block are set at 0V.

[0601] The cell source line is set at 0V. However, if the channel potential of a memory cell in the selected block, in which “1” data is to be programmed, is boosted by capacitive coupling with the control gate line CGL, and the leakage current of the cell source line poses a problem due to punch-through, the potential of the cell source line is preferably set at the power supply potential VCC.

[0602] In the read operation, the select gate lines SSL and GSL and the unselected control gate line CGL in the selected block are set at the power supply potential VCC (e.g., 3.3V) or the read potential Vread (e.g., 4.5V). The selected control gate line CGL is set at 0V. When the bit line is to be precharged before the data read, the bit line BLi is set at the precharge potential (e.g., 1.2V) VBL.

[0603] The selected memory cell storing “1” data is turned on, and the cell current flows to this selected memory cell. The bit line BLi is discharged to 0V. On the other hand, the selected memory cell storing “0” data is turned off, and no cell current flows to this selected memory cell. The bit line BLi holds the precharge potential VBL.

[0604]FIG. 56 shows the main part of the circuit block of the byte EEPROM of the present invention.

[0605] This EEPROM has the memory cell array 11 in which memory cell units each having four elements, i.e., two memory cells and two select transistors sandwiching the memory cells, are arranged in a matrix, the plurality of control gate lines 10 a extending in the row direction on the memory cell array 11, and the plurality of bit lines 10 b extending in the column direction on the memory cell array 11.

[0606] The row decoder 12 selects a row, i.e., one of the control gate lines 10 a. Data of memory cells connected to the selected control gate line 10 a are input to sense amplifiers 13 each formed from a sense amplifier having a data latch function and arranged in units of columns. A column decoder 14 selects a column, i.e., the bit line BLi.

[0607] Data of the sense amplifier of the selected column is externally output from the memory chip via the data input/output buffer 18. Data input to the memory chip is latched by the sense amplifier of the selected column, which has the latch function, via the data input/output buffer 18.

[0608] The booster 16 generates a high voltage necessary for the program operation or erase operation. The control circuit 17 controls the operation of each circuit in the memory chip and also serves as an interface between the internal and external circuits of the memory chip. The control circuit 17 includes a sequence means (e.g., a programmable logic array) for controlling the erase, program, and read operations for a memory cell.

[0609]FIG. 57 shows the arrangement of the memory cell array 11 shown in FIG. 56.

[0610] In this example, a memory cell unit is formed from a NAND cell having two memory cells connected in series and two select transistors respectively connected to the two ends of the NAND cell. The memory cell is formed from a MOSFET having a so-called stacked structure in which the floating gate and control gate are stacked.

[0611] A plurality of memory cells in the row direction form one block. A plurality of memory cells connected to one control gate line CGL form one page.

[0612] In the present invention, the erase, program, and read operations can be performed in units of pages. In the present invention, when the data change scheme to be described later is employed, the data change operation for byte data can also be performed.

[0613]FIG. 58 shows one of the sense amplifiers 13 shown in FIG. 56, which has the latch function and is connected to one bit line BLi.

[0614] The sense amplifier is mainly constructed by the latch circuit 21 having the two CMOS inverters I1 and I2. The output of one inverter is input to the other inverter. The latch node Q of the latch circuit 21 is connected to the I/O line via the column selection NMOS transistor M8. The latch node Q is also connected to the bit line BLi via the sense amplifier disconnection NMOS transistor M4 and bit line potential clamp NMOS transistor M1.

[0615] The connection node between the NMOS transistors M1 and M4 is the sense node Nsense. The sense node Nsense is connected to the precharge PMOS transistor M2 and discharge NMOS transistor M3. The precharge PMOS transistor M2 charges the sense node Nsense in a predetermined period on the basis of the precharge control signal Load. The discharge NMOS transistor M3 discharges the sense node Nsense on the basis of the discharge control signal DCB.

[0616] The latch node Qb of the latch circuit 21 is connected to the reset NMOS transistor M5 for forcibly grounding. the latch node Qb on the basis of the control signal φL1. The latch node Q of the latch circuit 21 is connected to the reset NMOS transistor M6 for forcibly grounding the latch node Q on the basis of the control signal φL2.

[0617] The common source of the reset NMOS transistors M5 and M6 is connected to ground via the sense NMOS transistor M7 controlled by the potential of the sense node Nsense. The sense NMOS transistor M7 is also used to reset the latch circuit 21 together with the NMOS transistors M5 and M6.

[0618]FIG. 59 is a flow chart schematically showing sequence control of the data change operation for byte data of the byte EEPROM of the present invention.

[0619] This sequence control is performed by, e.g., the control circuit 17 shown in FIG. 56. The data change operation for byte data will be briefly described with reference to this flow chart.

[0620] In the byte data change mode, data of one page of memory cells connected to a selected control gate line (word line) are read out to the sense amplifiers (page read). The sense amplifiers latch the data of one page (step ST1).

[0621] Byte data corresponding to columns designated by addresses is loaded. The loaded byte data is superscribed on byte data in the data of one page latched by the sense amplifiers, which is subjected to data change (step ST2).

[0622] The data of one page of the memory cells connected to the selected control gate line are simultaneously erased (page erase) (step ST3). After the erase, an erase verify is performed to verify whether all the memory cells connected to the selected control gate line are completely erased or over-erased (steps ST4 and ST5).

[0623] The page erase and erase verify are repeated until the threshold values of all the memory cells of the page fall within a predetermined range. When the threshold values of all the memory cells of the page fall within the predetermined range (completion of erase), the flow advances to the next operation (steps ST3 to ST5).

[0624] When only one sense amplifier having the latch function is connected to one bit line (only one page is present), the data in the sense amplifier may be destroyed depending on the result of the erase verify. In this case, the erase is performed only once without an erase verify.

[0625] After this, data of one page latched by the sense amplifiers are simultaneously programmed in the memory cells connected to the selected control gate line (step ST6). After programming, a program verify is performed to verify whether the data are completely programmed or over-programmed in the memory cells connected to the selected control gate line (steps ST7 and ST8).

[0626] The page program and program verify are repeated until the threshold values of all the memory cells of the page fall within a predetermined range. When the threshold values of all the memory cells of the page fall within the predetermined range (completion of programming), the data change operation for byte data is ended.

[0627] When data are to be programmed only once using a high program potential in accordance with one program pulse, the program verify may be omitted.

[0628]FIG. 60 shows the data of the selected memory cells and the states of the node Qb (FIG. 58) in the main processes in FIG. 59.

[0629] Shown at (a) in FIG. 60, a state wherein data of one page of the memory cells connected to the selected control gate line (word line) are read to the sense amplifiers (corresponding to step ST1).

[0630] When the data of a memory cell is at “0” (the threshold voltage is positive), the bit line BLi is not discharged and maintains the precharge potential. The sense node Nsense shown in FIG. 58 has the power supply potential VCC. When the control signal φL2 is at the power supply potential VCC, the node Q is at the ground potential VSS, i.e., “0”.

[0631] When the data of a memory cell is at “1” (the threshold voltage is negative), the bit line BLi is discharged. The sense node Nsense shown in FIG. 58 has the ground potential VSS. When the control signal φL2 is at the power supply potential VCC, the node Q is at the power supply potential VCC, i.e., “1”.

[0632] Shown at (b) in FIG. 60, a state wherein data is superscribed on byte data (8-bit data) designated by addresses in the data of one page latched by the sense amplifiers (corresponding to step ST2).

[0633] Shown at (c) in FIG. 60, a state wherein the data of the memory cells connected to the selected control gate line (word line) are erased (page erase) (corresponding to step ST3). The data of the memory cells connected to the selected control gate line are set at “1” by the page erase.

[0634] Shown at (d) in FIG. 60, a state wherein the data of one page latched by the sense amplifiers are programmed in the memory cells connected to the selected control gate line (word line) (corresponding to step ST6).

[0635] In the memory cell array 11, the data change operation for page data is performed. In fact, the data change operation for byte data is performed.

[0636] The read operation for the page program and program verify will be described next in detail with reference to the timing charts in FIGS. 61 to 63 with emphasis on the operation of the sense amplifier shown in FIG. 59.

[0637] FIGS. 61 to 63 show a plurality of divisions of one timing chart.

[0638] When a command for instructing programming is input from an external circuit to an internal circuit of the chip, the program operation is started.

[0639] To reset the sense node Nsense, the control signal DCB is set at the power supply potential VCC. The MOS transistor M3 is turned on to ground the sense node Nsense (t1).

[0640] The control signal BLSHF is also set at the power supply potential VCC together with the control signal DCB. The MOS transistor M1 is turned on to ground the bit line BLi.

[0641] Before program data are loaded to the sense amplifiers, the data latch control signal φL1 is set at the power supply potential VCC, and the precharge control signal Load is set at the ground potential VSS. The MOS transistors M5 and M7 are turned on to forcibly ground the latch node Qb of the latch circuit 21 and reset data. More specifically, in each of all sense amplifiers 20, the latch node Q of the latch circuit 21 is set at the power supply potential VCC, and the latch node Qb is set at the ground potential VSS (t2).

[0642] The program data are loaded from the I/O line and latched by the latch circuits 21 of the sense amplifiers 20. The nodes Q and Qb are set at “H” or “L” level in accordance with the loaded data (t3).

[0643] More specifically, in the latch circuit 21 of a sense amplifier corresponding to a memory cell for “0” programming, “L” level (=VSS) is applied to the latch node Q. In the latch circuit 21 of a sense amplifier corresponding to a memory cell for “1” programming (program inhibit), “H” level (=VCC) is applied to the latch node Q.

[0644] When the control signals BLSHF and SBL are at “H” level, charge of each bit line is started on the basis of the data latched by the latch circuit 21 of a corresponding sense amplifier 20 (t4).

[0645] More specifically, the bit line BLi connected to a memory cell for “0” programming is set at the ground potential VSS. The bit line connected to a memory cell for “1” programming (program inhibit) is charged to the power supply potential VCC. The selected control gate line (word line) is set at the program voltage Vprog (about 20V). At this time, the unselected control gate line (word line) is set not at the potential Vpass (e.g., 8V) but at the power supply potential VCC (e.g., 3.3V) or the read potential Vread (e.g., 4.5V) to be applied to the unselected memory cell in the read.

[0646] With this operation, the memory cells of one page are programmed.

[0647] After the data program is ended, the program verify is started to verify whether the data program is completely performed.

[0648] The program verify read is performed. This verify read operation is the same as the normal read operation.

[0649] When the control signal DCB is set at the power supply potential VCC, the MOS transistor M3 is turned on to forcibly ground the sense node Nsense (t5).

[0650] The reference potential Vref (about 0.5V) is applied to the selected control gate line CGL. The read potential Vread (e.g., 4.5V) for keeping a memory cell on regardless of the data stored in the memory cell is applied to the unselected control gate line CGL. The power supply potential VCC is applied to the select gate lines SSL and GSL. The verify read is started (t6).

[0651] For the read, bit line precharge sensing scheme or current detection sensing scheme can be used. In the bit line precharge sensing scheme, the bit line BLi is precharged and floated, and then, the potential of the bit line is maintained or dropped in accordance with data of a memory cell. The current detection sensing scheme will be described below in detail.

[0652] At time t6, the control signal BLSHF is clamped from the boosted potential VCC+α to the potential VCC−α. Data is read on the basis of the balance between the memory cell current flowing to the MOS transistor M1 and the current of the MOS transistor M2 for charging the sense node Nsense. When the potential of the bit line BLi increases to, e.g., 0.9V, the MOS transistor M1 is cut off, and the sense node Nsense is set at the power supply potential VCC.

[0653] After the sense node Nsense is at “H” level (=VCC), the latch control signal φL1 is set at the power supply potential VCC to turn on the MOS transistor M5 (t7). When the sense node Nsense is at the power supply potential VCC (in a sense amplifier connected to a memory cell having a threshold voltage higher than the verify potential Vref), the MOS transistor M7 is turned on to set the latch node Qb at the ground potential VSS and the latch node Q at the power supply potential VCC.

[0654] When the ground potential VSS is loaded to the latch node Q, and programming is properly performed, the latch data of the latch circuit 21 is inverted. If programming in the memory cell is insufficient, the sense node Nsense remains “L” level (=VSS) in the verify read. For this reason, the data of the latch circuit 21 is not inverted, and the latch node Q keeps the ground potential VSS. In a sense amplifier connected to a program inhibit memory cell, the latch node Q is at the power supply potential VCC, and no data inversion occurs.

[0655] When a memory cell is insufficiently programmed, i.e., when data of the latch circuit 21 of a sense amplifier is not inverted, programming and verify read are repeated. When the potentials of the latch nodes Q of all sense amplifiers of one page are set at the power supply potential VCC, programming is ended.

[0656] The data change operation for byte data will be described next in detail with reference to the timing chart shown in FIG. 63 with emphasis on the operation of the sense amplifier shown in FIG. 58.

[0657] When a command for instructing the byte data change mode is input from an external circuit to an internal circuit of the chip, the data change operation for byte data starts.

[0658] A read of data already programmed in memory cells of one page, which are connected to the selected control gate line (word line), is started.

[0659] The read operation is the same as the read operation.

[0660] The data latch control signal φL1 is set at the power supply potential VCC, and the precharge control signal Load is set at the ground potential VSS. The MOS transistors M5 and M7 are turned on to forcibly ground the latch node Qb of each latch circuit 21 and reset the data. More specifically, in each of the sense amplifiers, the latch node Q of the latch circuit 21 is set at the power supply potential VCC, and the latch node Qb is set at the ground potential VSS (t1).

[0661] The control signal DCB is set at the power supply potential VCC. The MOS transistor M3 is turned on to forcibly ground the sense node Nsense (t2). When the ground potential VSS(=0V) is applied to the selected control gate line CGL, and the power supply potential VCC is applied to the select gate lines SSL and GSL, the read is performed (t3).

[0662] After the sense node Nsense is at “H” level (=VCC), the latch control signal φL2 is set at the power supply potential VCC to turn on the MOS transistor M6 (t4). When the sense node Nsense is at the power supply potential VCC (i.e., in a sense amplifier connected to a memory cell having data “0” and a threshold voltage higher than the ground potential VSS), the MOS transistor M7 is turned on to set the latch node Q at the ground potential VSS and the latch node Qb at the power supply potential VCC.

[0663] Next, the control signal DCB is set at the power supply potential VCC, and the control signal BLSHF is set at the power supply potential VCC or the potential VCC+α to reset the bit line BLi and sense node Nsense (t5).

[0664] After this, byte data is loaded to the latch circuit 21 of the sense amplifier 20 designated by a column address. The nodes Q and Qb are set at “H” or “L” level in accordance with the byte data (t6).

[0665] The byte data input from the external circuit of the chip is superscribed on predetermined data of page data programmed in the latch circuit 21.

[0666] After this, the page erase operation is performed for the memory cells connected to the selected control gate line.

[0667] The control gate line of the selected block is set at the ground potential VSS. The control gate lines of unselected blocks and all select gate lines are set in the floating state. When the erase voltage Vera is applied to the cell P-well, the select gate lines and the control gate lines of the unselected blocks, which are in the floating state, are boosted to Vera×β (β is the coupling ratio) by the capacitive coupling with the cell P-well.

[0668] The bit line BLi and cell source line SL are connected to the N⁺-type layer in the cell P-well. When the p-n junction between the N⁺-type layer and cell P-well is forward-biased, the bit line BLi and cell source line SL are charged to Vera−Vb (t7). Vb is the built-in potential of the p-n junction.

[0669] After this, the erase verify is performed to confirm that all the memory cells of the selected page are in the erase state, i.e., the threshold voltage of each memory cell becomes negative. On the basis of the data stored in the latch circuit 21, the program operation and program verify operation are performed for each memory cell of the selected page.

[0670] The operation after the erase verify is not illustrated in FIG. 63.

[0671]FIG. 64 shows an example in which a NAND flash EEPROM partially has the memory cell array of the byte EEPROM of the present invention.

[0672] The byte EEPROM of the present invention can be regarded as a NAND flash EEPROM whose memory cell array has two memory cells between two select transistors. Hence, the EEPROM of this example can be easily realized.

[0673] In the EEPROM of this example, memory cell units of two types with different structures are connected to one bit line BLi. More specifically, the first memory cell unit has a plurality of (e.g., 8, 16, or 32) memory cells connected between two select transistors. The second memory cell unit has two memory cells connected between two select transistors.

[0674] To select a control gate line (word line), a drive circuit may be prepared for each of the first and second memory cell unit regions. If possible, the two regions may share one drive circuit.

[0675] This arrangement allows the data change operation for byte data in part of the memory cell array.

[0676] The memory cell array of an AND flash EEPROM or DINOR flash EEPROM may be employed in place of the memory cell array of the NAND flash EEPROM shown in FIG. 64.

[0677] As has been described above, according to the byte EEPROM of the present invention, (1) since the memory cell unit is formed from one stacked-type memory cell sandwiched by two select transistor, the memory can be formed by the same process as that of the flash EEPROM, use the same data change method as that of the flash EEPROM, and perform the data change operation for byte data.

[0678] In addition, (2) when not the potential Vpass but the power supply potential VCC or potential Vread is applied to the control gate of an unselected memory cell in the program mode, and the memory cell unit is formed from a plurality of (e.g., two) stacked memory cells sandwiched by two select transistors, an effect for reducing the size per memory cell can be obtained in addition to the above-described effects.

[0679] Table 7 shows comparison between the effects of the conventional NAND flash EEPROM and those of the byte EEPROM of the present invention. TABLE 7 Prior Art Present Invention Cell Unit Structure NAND Type 3-tr Type 4-tr Type Batch Programming (no verify is X ◯ X required) Data Change Operation for Page X ◯ ◯ Data (byte data) Read Current X ◯ Δ Read Retention (data holding X ◯ X characteristics) Number of Data Change Opera- ◯   ◯*¹   ◯*¹ tions (endurance characteristics) Disturbance in Program Mode   X*² ◯   ◯*³ (programming error) Cell Size ◯ X*⁴ Δ (1) (3.5) (2.2)

[0680] Furthermore, according to the byte EEPROM of the present invention, (3) since the memory cell array is formed from a plurality of blocks arranged in a matrix, and the read, erase, and program operations are performed in units of blocks, the substantial program/erase endurance characteristics are not degraded even in the data change operation for byte data.

[0681] Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents. 

1. A nonvolatile semiconductor memory comprising: a memory cell array having a memory cell unit formed from only one memory cell and two select gate transistors sandwiching the memory cell; a bit line connected to an associated one of the select gate transistors; a sense amplifier connected to the bit line; and a control circuit which controls a programming operation for the memory cell, wherein the programming operation is executed only one time, a threshold voltage of the memory cell is higher than a read voltage, and the highest limit of the threshold voltage of the memory cell is infinite.
 2. The nonvolatile semiconductor memory according to claim 1, wherein the programming operation is executed by using a program voltage sufficient to complete programming of the memory cell.
 3. The nonvolatile semiconductor memory according to claim 1, wherein a program verify operation is executed after the programming operation and detects whether the threshold voltage of the memory cell is higher than the read voltage.
 4. The nonvolatile semiconductor memory according to claim 1, wherein a program verify operation is inhibited after the programming operation.
 5. The nonvolatile semiconductor memory according to claim 1, wherein the memory cell has a control gate electrode and a floating gate electrode.
 6. The nonvolatile semiconductor memory according to claim 1, wherein the programming operation is executed by using an F-N tunneling phenomenon.
 7. The nonvolatile semiconductor memory according to claim 1, wherein the sense amplifier has a latch function.
 8. A nonvolatile semiconductor memory comprising: a memory cell array having a memory cell unit formed from only one memory cell and two select gate transistors sandwiching the memory cell; a bit line connected to an associated one of the select gate transistors; a sense amplifier connected to the bit line; and a control circuit which controls an erasing operation for the memory cell, wherein the erasing operation is executed only one time, a threshold voltage of the memory cell is lower than a read voltage, and the lowest limit of the threshold voltage of the memory cell is infinite.
 9. The nonvolatile semiconductor memory according to claim 8, wherein the erasing operation is executed by using an erase voltage sufficient to complete erasing of the memory cell.
 10. The nonvolatile semiconductor memory according to claim 8, wherein an erase verify operation is executed after the erasing operation and detects whether the threshold voltage of the memory cell is lower than the read voltage.
 11. The nonvolatile semiconductor memory according to claim 8, wherein an erase verify operation is inhibited after the erasing operation.
 12. The nonvolatile semiconductor memory according to claim 8, wherein the memory cell has a control gate electrode and a floating gate electrode.
 13. The nonvolatile semiconductor memory according to claim 8, wherein the erasing operation is executed by using an F-N tunneling phenomenon.
 14. The nonvolatile semiconductor memory according to claim 8, wherein the sense amplifier has a latch function. 